Package org.apache.sling.runmode
Interface RunMode
Deprecated.
Use org.apache.sling.settings.SlingSettingsService instead.
Define "run modes" for Sling, and allow components to find
out if they're active according to the current set of run modes.
A "run mode" is simply a string like "author", "dmz", "development",...
The service does not validate their values.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionString[]Deprecated.Return the current set of active run modesbooleanDeprecated.True if at least one of the given runModes is contained in the set of current active run modes.
-
Field Details
-
RUN_MODES_SYSTEM_PROPERTY
Deprecated.Suggested name for the System property used to set run modes. If that's used, the service should accept a comma-separated list of values, each defining one run mode.- See Also:
-
RUN_MODE_WILDCARD
Deprecated.Wildcard for run modes, means "accept all modes"- See Also:
-
-
Method Details
-
isActive
Deprecated.True if at least one of the given runModes is contained in the set of current active run modes. -
getCurrentRunModes
String[] getCurrentRunModes()Deprecated.Return the current set of active run modes
-