|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Base interface for objects that are used to decide whether a PR member of a
ConditionalController needs to be run.
| Nested Class Summary | |
static class |
RunningStrategy.RunAlwaysStrategy
|
| Field Summary | |
static int |
RUN_ALWAYS
Run mode constant meaning the associated PR should be run regardless of what the shouldRun() method returns. |
static int |
RUN_CONDITIONAL
Run mode constant meaning the associated PR should be run only if the shouldRun() method returns true. |
static int |
RUN_NEVER
Run mode constant meaning the associated PR should NOT be run regardless of what the shouldRun() method returns. |
| Method Summary | |
ProcessingResource |
getPR()
Gets the associated ProcessingResource. |
int |
getRunMode()
Returns the run mode (see RUN_ALWAYS, RUN_NEVER,
RUN_CONDITIONAL). |
boolean |
shouldRun()
Returns true if the associated PR should be run. |
| Field Detail |
public static final int RUN_ALWAYS
shouldRun() method returns.
public static final int RUN_NEVER
shouldRun() method returns.
public static final int RUN_CONDITIONAL
shouldRun() method returns true.
| Method Detail |
public boolean shouldRun()
public int getRunMode()
RUN_ALWAYS, RUN_NEVER,
RUN_CONDITIONAL).
public ProcessingResource getPR()
ProcessingResource value.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||