public class StateMetaBuilderImpl extends InheritableAnnotationMetaBuilderBase<StateMetadata,StateMachineMetadata> implements StateMetaBuilder
StateMetadata.StateTypeEnumloggerregistrycontainerType, flavorMap, keySet, parent, path, properties| Modifier | Constructor and Description |
|---|---|
protected |
StateMetaBuilderImpl(StateMachineMetaBuilder parent,
String name) |
configureSuper, getDeclaredAnnotation, getSuper, getSuperMetaClass, hasDeclaredAnnotation, hasLifecycleOverrideAnnotation, hasSuper, hasSuper, isOverriding, setOverriding, setSuperaddKeys, getPrimaryKey, getRegistry, newVerificationException, newVerificationException, newVerificationFailure, newVerificationFailure, setPrimaryKey, setRegistryaddFlavor, addKey, addKeys, equals, getDottedPath, getFlavor, getFlavorMetaData, getKeySet, getMetaData, getName, getParent, getProperty, handleError, hasFlavor, hasFlavorMetaData, hashCode, hasKey, removeFlavor, setContainerType, setProperty, toString, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddFlavor, addKey, addKeys, getMetaData, handleError, hasKey, removeFlavorgetSuper, hasSuper, isOverridinggetDottedPath, getKeySet, getParent, getPrimaryKeygetKeySetprotected StateMetaBuilderImpl(StateMachineMetaBuilder parent, String name)
public void verifyMetaData(VerificationFailureSet verificationSet)
verifyMetaData in interface MetaDatapublic boolean hasRedoEvent()
hasRedoEvent in interface Recoverablepublic EventMetadata getRedoEvent()
getRedoEvent in interface Recoverablepublic boolean hasRecoverEvent()
hasRecoverEvent in interface Recoverablepublic EventMetadata getRecoverEvent()
getRecoverEvent in interface Recoverablepublic boolean hasCorruptEvent()
hasCorruptEvent in interface Recoverablepublic EventMetadata getCorruptEvent()
getCorruptEvent in interface Recoverablepublic void dump(Dumper dumper)
Dumpablepublic StateMachineMetadata getStateMachine()
getStateMachine in interface StateMetaBuildergetStateMachine in interface StateMetadatapublic String getSimpleName()
getSimpleName in interface StateMetadatapublic boolean isInitial()
isInitial in interface StateMetadatapublic boolean isFinal()
isFinal in interface StateMetadatapublic EventMetadata[] getPossibleLeavingEvents()
getPossibleLeavingEvents in interface StateMetadatapublic FunctionMetadata[] getDeclaredFunctionMetadata()
getDeclaredFunctionMetadata in interface StateMetadatapublic EventMetadata getEvent(Object eventKey)
getEvent in interface StateMetadatapublic boolean isEventValid(Object eventKey)
isEventValid in interface StateMetadatapublic boolean hasInboundWhiles()
hasInboundWhiles in interface StateMetadatapublic RelationConstraintMetadata[] getDeclaredInboundWhiles()
getDeclaredInboundWhiles in interface StateMetadatapublic RelationConstraintMetadata[] getInboundWhiles()
getInboundWhiles in interface StateMetadatapublic boolean hasValidWhiles()
hasValidWhiles in interface StateMetadatapublic RelationConstraintMetadata[] getValidWhiles()
getValidWhiles in interface StateMetadatapublic RelationConstraintMetadata[] getDeclaredValidWhiles()
getDeclaredValidWhiles in interface StateMetadatapublic boolean isCompositeState()
isCompositeState in interface StateMetadatapublic StateMetadata getOwningState()
getOwningState in interface StateMetadatapublic StateMachineMetadata getCompositeStateMachine()
getCompositeStateMachine in interface StateMetadatapublic StateMetadata getLinkTo()
getLinkTo in interface StateMetadatapublic StateMetaBuilder build(Class<?> clazz, StateMachineMetadata parent) throws VerificationException
build in interface AnnotationMetaBuilder<StateMetadata,StateMachineMetadata>build in interface StateMetaBuilderbuild in class AnnotationMetaBuilderBase<StateMetadata,StateMachineMetadata>VerificationExceptionpublic void configureFunctions(Class<?> stateClass) throws VerificationException
configureFunctions in interface StateMetaBuilderVerificationExceptionpublic void configureCompositeStateMachine(Class<?> stateClass) throws VerificationException
configureCompositeStateMachine in interface StateMetaBuilderVerificationExceptionpublic void configureRelationConstrants(Class<?> clazz) throws VerificationException
configureRelationConstrants in interface StateMetaBuilderVerificationExceptionpublic FunctionMetadata getDeclaredFunctionMetadata(Object functionKey)
getDeclaredFunctionMetadata in interface StateMetadatapublic boolean hasMultipleStateCandidatesOn(Object eventKey)
hasMultipleStateCandidatesOn in interface StateMetadatapublic FunctionMetadata getFunctionMetadata(Object functionKey)
getFunctionMetadata in interface StateMetadataprotected void verifySuper(Class<?> clazz) throws VerificationException
verifySuper in class InheritableAnnotationMetaBuilderBase<StateMetadata,StateMachineMetadata>VerificationExceptionprotected StateMetadata findSuper(Class<?> metaClass) throws VerificationException
findSuper in class InheritableAnnotationMetaBuilderBase<StateMetadata,StateMachineMetadata>VerificationExceptionprotected boolean extendsSuperKeySet()
extendsSuperKeySet in class InheritableAnnotationMetaBuilderBase<StateMetadata,StateMachineMetadata>public void addPossibleReachingEvent(EventMetadata event)
addPossibleReachingEvent in interface StateMetaBuilderpublic EventMetadata[] getPossibleReachingEvents()
getPossibleReachingEvents in interface StateMetadatapublic StateMetadata.StateTypeEnum getType()
getType in interface StateMetadatapublic void setType(StateMetadata.StateTypeEnum type)
setType in interface StateMetadataCopyright © 2015. All Rights Reserved.