public class PlanComponent extends Object
Constructor and Description |
---|
PlanComponent(NavuNode service,
String name,
String componentType)
Creation of a plan component.
|
PlanComponent(NavuNode service,
String name,
String componentType,
ConfObjectRef serviceReference) |
Modifier and Type | Method and Description |
---|---|
PlanComponent |
appendState(String stateName)
This method supplies a state to the specific component.
|
PlanComponent |
appendState(String stateName,
String createMonitor,
String createTriggerExpr) |
PlanComponent |
appendState(String stateName,
String createMonitor,
String createTriggerExpr,
String deleteMonitor,
String deleteTriggerExpr) |
PlanComponent |
backTrack() |
PlanComponent |
backTrack(boolean isBacktracking) |
PlanComponent |
setFailed(String stateName)
Setting status to ncs:failed for a specific state in the plan component
|
PlanComponent |
setNotReached(String stateName)
Setting status to ncs:not-reached for a specific state in the
plan component
|
PlanComponent |
setReached(String stateName)
Setting status to ncs:reached for a specific state in the plan component
|
public PlanComponent(NavuNode service, String name, String componentType) throws NavuException
service
- name
- componentType
- NavuException
public PlanComponent(NavuNode service, String name, String componentType, ConfObjectRef serviceReference) throws NavuException
NavuException
public PlanComponent appendState(String stateName) throws NavuException
stateName
- NavuException
public PlanComponent appendState(String stateName, String createMonitor, String createTriggerExpr) throws NavuException
NavuException
public PlanComponent appendState(String stateName, String createMonitor, String createTriggerExpr, String deleteMonitor, String deleteTriggerExpr) throws NavuException
NavuException
public PlanComponent setNotReached(String stateName) throws NavuException
stateName
- NavuException
public PlanComponent setReached(String stateName) throws NavuException
stateName
- NavuException
public PlanComponent setFailed(String stateName) throws NavuException
stateName
- NavuException
public PlanComponent backTrack() throws NavuException
NavuException
public PlanComponent backTrack(boolean isBacktracking) throws NavuException
NavuException