@Deprecated public class RunModeUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static 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(RunMode rm,
String[] componentRunModes,
ComponentContext ctx,
Logger log)
Deprecated.
Use this to disable a component if none of its run modes are active
|
public static final String RUN_MODES_PROPERTY
public static boolean disableIfNoRunModeActive(RunMode rm, String[] componentRunModes, ComponentContext ctx, Logger log)
rm - RunModecomponentRunModes - component run modesctx - component contextlog - loggerCopyright © 2010 - 2020 Adobe. All Rights Reserved