@Deprecated
public class RunModeUtil
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
RUN_MODES_PROPERTY
Deprecated.
Name to use for the property that configures
the run modes of a component
|
| Constructor and Description |
|---|
RunModeUtil()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
disableIfNoRunModeActive(org.apache.sling.runmode.RunMode rm,
java.lang.String[] componentRunModes,
ComponentContext ctx,
Logger log)
Deprecated.
Use this to disable a component if none of its run modes are active
|
public static final java.lang.String RUN_MODES_PROPERTY
public static boolean disableIfNoRunModeActive(org.apache.sling.runmode.RunMode rm,
java.lang.String[] componentRunModes,
ComponentContext ctx,
Logger log)
"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"