Use org.apache.sling.settings.SlingSettingsService instead.
public interface RunMode
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.
Modifier and Type
Method and Description
Return the current set of active run modes
( isActive String runModes)
True if at least one of the given runModes is contained
in the set of current active run modes.
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: Constant Field Values
"Copyright © 2010 - 2016 Adobe Systems Incorporated. All Rights Reserved"