public interface IPlan extends IParameterElement
Modifier and Type | Field and Description |
---|---|
static String |
PLANLIFECYCLESTATE_ABORTED
The state, indicating the execution of the aborted.
|
static String |
PLANLIFECYCLESTATE_BODY
The state, indicating the execution of the plan body.
|
static String |
PLANLIFECYCLESTATE_FAILED
The state, indicating the execution of the failed code.
|
static String |
PLANLIFECYCLESTATE_NEW
The lifecycle state "new" (just created).
|
static String |
PLANLIFECYCLESTATE_PASSED
The state, indicating the execution of the passed code.
|
Modifier and Type | Method and Description |
---|---|
void |
abortPlan()
Abort a running plan.
|
void |
addPlanListener(IPlanListener listener)
Add a goal listener.
|
Object |
getBody()
Get the body.
|
String |
getLifecycleState()
Get the lifecycle state of the plan (e.g. body or aborted).
|
IElement |
getReason()
Get the reason (i.e. initial event).
|
IWaitqueue |
getWaitqueue()
Get the waitqueue.
|
void |
removePlanListener(IPlanListener listener)
Remove a goal listener.
|
getParameter, getParameters, getParameterSet, getParameterSets, getType, hasParameter, hasParameterSet
getModelElement
static final String PLANLIFECYCLESTATE_NEW
static final String PLANLIFECYCLESTATE_BODY
static final String PLANLIFECYCLESTATE_PASSED
static final String PLANLIFECYCLESTATE_FAILED
static final String PLANLIFECYCLESTATE_ABORTED
String getLifecycleState()
IWaitqueue getWaitqueue()
Object getBody()
IElement getReason()
void abortPlan()
void addPlanListener(IPlanListener listener)
listener
- The goal listener.void removePlanListener(IPlanListener listener)
listener
- The goal listener.Copyright © 2012. All Rights Reserved.