public interface RunningStrategy
ConditionalController
needs to be run.Modifier and Type | Interface and Description |
---|---|
static class |
RunningStrategy.UnconditionalRunningStrategy
RunningStrateguy implementation that unconditionally either runs
or doesn't run a given PR.
|
Modifier and Type | Field and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
ProcessingResource |
getPR()
Gets the associated ProcessingResource.
|
int |
getRunMode()
|
boolean |
shouldRun()
Returns true if the associated PR should be run.
|
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.boolean shouldRun()
int getRunMode()
ProcessingResource getPR()
ProcessingResource
value.Copyright © 2024 GATE. All rights reserved.