|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RunningStrategy
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 |
---|
static final int RUN_ALWAYS
shouldRun()
method returns.
static final int RUN_NEVER
shouldRun()
method returns.
static final int RUN_CONDITIONAL
shouldRun()
method returns true.
Method Detail |
---|
boolean shouldRun()
int getRunMode()
RUN_ALWAYS
, RUN_NEVER
,
RUN_CONDITIONAL
).
ProcessingResource getPR()
ProcessingResource
value.
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |