Package org.silverpeas.core.contribution
Class ContributionSettings
- java.lang.Object
-
- org.silverpeas.core.contribution.ContributionSettings
-
public class ContributionSettings extends Object
The different settings that are applied on the contributions, whatever their concrete type. These settings allow to customize some feature behaviours on the contributions.- Author:
- silveryocha
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TrackedApplications
getApplicationsTrackedForModifications()
Gets the applications in Silverpeas for which the contributions have to be tracked for change.static Stream<String>
streamComponentNamesWithMinorModificationBehaviorEnabled()
Indicates if the behavior of asking to user if its modification is a minor one is enabled or not.
-
-
-
Method Detail
-
streamComponentNamesWithMinorModificationBehaviorEnabled
public static Stream<String> streamComponentNamesWithMinorModificationBehaviorEnabled()
Indicates if the behavior of asking to user if its modification is a minor one is enabled or not.- Returns:
- true if enabled, false otherwise.
-
getApplicationsTrackedForModifications
public static TrackedApplications getApplicationsTrackedForModifications()
Gets the applications in Silverpeas for which the contributions have to be tracked for change. Only the contributions that support the tracking for modifications will be taken in charge (for example the publications).- Returns:
- a
TrackedApplications
instance. IfTrackedApplications.NONE
, no tracking for contributions modifications are operated (the tracking for change is disabled). IfTrackedApplications.ALL
, the tracking for contributions modifications (those that support such a tracking) is enabled for all the applications in Silverpeas.
-
-