public class CheckpointPlanElement extends PlanElementBase
URI proxy locators that are expected as inputs in
the Inputs. These are passed to StoreClient#Init(gr.uoa.di.madgik.grs.store.share.locator.IStoreLocator.LocatorType, List, gr.uoa.di.madgik.grs.store.RecordStoreConfig.SinkInputAccessMultiplexType, gr.uoa.di.madgik.grs.store.RecordStoreConfig.SinkInputAccessDepthType, int, int, int, float, long)
along with configuration retrieved by Config and the store locator
is created.PlanElementBase.ClockTypeIPlanElement.PlanElementType| Modifier and Type | Field and Description |
|---|---|
CheckpointConfig |
Config
The configuration to use when creating the store locator
|
List<IInputParameter> |
Inputs
The Inputs that store the locators to be checkpointed.
|
IOutputParameter |
Output
The Output where to store the created store locator
|
List<ContingencyTrigger> |
Triggers
The contingency Triggers supported
|
| Constructor and Description |
|---|
CheckpointPlanElement() |
| Modifier and Type | Method and Description |
|---|---|
void |
ExecuteExtender(ExecutionHandle Handle)
Execute extender.
|
void |
FromXML(Element XML)
Populate the element from its xml serialization as returned by
IPlanElement.ToXML() |
void |
FromXML(String XML)
Populate the element from its xml serialization as returned by
IPlanElement.ToXML() |
List<ContingencyTrigger> |
GetContingencyTriggers()
Gets the contingency triggers.
|
org.slf4j.Logger |
GetExtenderLogger()
Gets the extender logger.
|
String |
GetID()
Gets the id.
|
Set<String> |
GetModifiedVariableNames()
Gets the modified variable names of the element and of the elements contained.
|
String |
GetName()
Gets the name.
|
Set<String> |
GetNeededVariableNames()
Gets the needed variable names of the element and of the elements contained.
|
IPlanElement.PlanElementType |
GetPlanElementType()
Gets the plan element type.
|
IPlanElement |
Locate(String ID)
Locate the plan element with the provided id.
|
Set<IPlanElement> |
LocateActionElements()
Retrieves the Action elements under this elements
|
void |
SetContingencyResourcePick(ExecutionHandle Handle,
String Pick)
Sets the picked resource in case the
IContingencyReaction.ReactionType#Pick reaction is supported |
void |
SetName(String Name)
Sets the name.
|
IContingencyReaction.ReactionType[] |
SupportedContingencyTriggers()
Retrieves the supported contingency triggers.
|
boolean |
SupportsContingencyTriggers()
Checks if the element supports contingency triggers.
|
String |
ToXML()
Serialize to xml the element and all its contained elements
|
void |
Validate()
Validate the element and any sub element it contains
|
void |
ValidatePreExecution(ExecutionHandle Handle)
Validate the element and any sub element it contains before it is executed
|
CheckStatus, Execute, ExecuteWithStateAwareness, GetPerformanceEvent, RegisterToRunningActionElementsRestriction, ResetClocks, StartClock, StopClock, UnregisterToRunningActionElementsRestriction, updatepublic List<ContingencyTrigger> Triggers
public List<IInputParameter> Inputs
public IOutputParameter Output
public CheckpointConfig Config
public void FromXML(String XML) throws ExecutionSerializationException
IPlanElementIPlanElement.ToXML()XML - the xML serializationExecutionSerializationException - A serialization error occurredpublic void FromXML(Element XML) throws ExecutionSerializationException
IPlanElementIPlanElement.ToXML()XML - the xML serializationExecutionSerializationException - A serialization error occurredpublic String GetID()
IPlanElementpublic String GetName()
IPlanElementpublic IPlanElement.PlanElementType GetPlanElementType()
IPlanElementpublic IPlanElement Locate(String ID)
IPlanElementID - the iDpublic Set<IPlanElement> LocateActionElements()
IPlanElementpublic void SetName(String Name)
IPlanElementName - the namepublic String ToXML() throws ExecutionSerializationException
IPlanElementExecutionSerializationException - A serialization error occurredpublic void Validate()
throws ExecutionValidationException
IPlanElementExecutionValidationException - A validation error occurredpublic IContingencyReaction.ReactionType[] SupportedContingencyTriggers()
IPlanElementpublic boolean SupportsContingencyTriggers()
IPlanElementpublic List<ContingencyTrigger> GetContingencyTriggers()
IPlanElementpublic void SetContingencyResourcePick(ExecutionHandle Handle, String Pick) throws ExecutionRunTimeException
IPlanElementIContingencyReaction.ReactionType#Pick reaction is supportedHandle - the execution handle handlePick - the picked resourceExecutionRunTimeException - A runtime error occurredpublic Set<String> GetNeededVariableNames()
IPlanElementpublic Set<String> GetModifiedVariableNames()
IPlanElementpublic org.slf4j.Logger GetExtenderLogger()
PlanElementBaseGetExtenderLogger in class PlanElementBasepublic void ExecuteExtender(ExecutionHandle Handle) throws ExecutionRunTimeException, ExecutionCancelException, ExecutionInternalErrorException, ExecutionBreakException
PlanElementBaseExecuteExtender in class PlanElementBaseHandle - the execution handleExecutionRunTimeException - A runtime error occurredExecutionCancelException - The execution was canceledExecutionInternalErrorException - An internal error occurredExecutionBreakException - The execution was terminatedpublic void ValidatePreExecution(ExecutionHandle Handle) throws ExecutionValidationException
IPlanElementHandle - the execution handleExecutionValidationException - A validation error occurredCopyright © 2015. All Rights Reserved.