@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(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(RunMode rm, java.lang.String[] componentRunModes, ComponentContext ctx, Logger log)
rm
- RunMode
componentRunModes
- component run modesctx
- component contextlog
- loggerCopyright © 2010 - 2020 Adobe. All Rights Reserved