public class StateMachineMetaBuilderImpl extends InheritableAnnotationMetaBuilderBase<StateMachineMetadata,StateMachineMetadata> implements StateMachineMetaBuilder
loggerregistrycontainerType, flavorMap, keySet, parent, path, properties| Constructor and Description |
|---|
StateMachineMetaBuilderImpl(AbsStateMachineRegistry registry,
String name) |
StateMachineMetaBuilderImpl(StateMachineMetaBuilderImpl parent,
String name) |
configureSuper, extendsSuperKeySet, getDeclaredAnnotation, getSuper, getSuperMetaClass, hasDeclaredAnnotation, hasLifecycleOverrideAnnotation, 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, waitgetRegistry, setRegistryaddFlavor, addKey, addKeys, getMetaData, handleError, hasKey, removeFlavorgetParentgetSuper, isOverridinggetDottedPath, getKeySet, getPrimaryKeygetKeySetpublic StateMachineMetaBuilderImpl(AbsStateMachineRegistry registry, String name)
public StateMachineMetaBuilderImpl(StateMachineMetaBuilderImpl parent, String name)
public boolean hasSuper()
hasSuper in interface Inheritable<StateMachineMetadata>hasSuper in class InheritableAnnotationMetaBuilderBase<StateMachineMetadata,StateMachineMetadata>public boolean hasParent()
hasParent in interface StateMachineMetadatapublic StateMetadata[] getDeclaredStateSet()
getDeclaredStateSet in interface StateMachineMetadatapublic StateMetadata getDeclaredState(Object stateKey)
getDeclaredState in interface StateMachineMetadatapublic StateMetadata getInitialState()
getInitialState in interface StateMachineMetadatapublic StateMetadata[] getFinalStates()
getFinalStates in interface StateMachineMetadatapublic EventMetadata[] getDeclaredEventSet()
getDeclaredEventSet in interface StateMachineMetadatapublic EventMetadata getDeclaredEvent(Object eventKey)
getDeclaredEvent in interface StateMachineMetadatapublic EventMetadata getStateSynchronizationEvent()
getStateSynchronizationEvent in interface StateMachineMetadatapublic StateMachineObject<?> newInstance(Class<?> clazz) throws VerificationException
newInstance in interface StateMachineMetadataclazz - defined with @LifecycleMeta, and with @Event
, @StateIndicator, @Relation.VerificationExceptionpublic void verifyMetaData(VerificationFailureSet verificationSet)
verifyMetaData in interface MetaDatapublic void dump(Dumper dumper)
Dumpablepublic 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 boolean isComposite()
isComposite in interface StateMachineMetadatapublic void setComposite(boolean b)
setComposite in interface StateMachineMetaBuilderpublic StateMachineMetadata getOwningStateMachine()
getOwningStateMachine in interface StateMachineMetadatapublic StateMetadata getOwningState()
getOwningState in interface StateMachineMetadatapublic void setOwningState(StateMetadata stateMetaBuilder)
setOwningState in interface StateMachineMetaBuilderpublic StateMachineMetaBuilder build(Class<?> clazz, StateMachineMetadata parent) throws VerificationException
build in interface AnnotationMetaBuilder<StateMachineMetadata,StateMachineMetadata>build in class AnnotationMetaBuilderBase<StateMachineMetadata,StateMachineMetadata>VerificationExceptionprotected void verifySuper(Class<?> clazz) throws VerificationException
verifySuper in class InheritableAnnotationMetaBuilderBase<StateMachineMetadata,StateMachineMetadata>VerificationExceptionpublic boolean hasRelation(Object relationKey)
hasRelation in interface StateMachineMetadatapublic EventMetadata[] getAllEvents()
getAllEvents in interface StateMachineMetadatapublic EventMetadata getEvent(Object eventKey)
getEvent in interface StateMachineMetadatapublic boolean hasEvent(Object eventKey)
hasEvent in interface StateMachineMetaBuilderhasEvent in interface StateMachineMetadatapublic StateMachineMetaBuilder[] getCompositeStateMachines()
getCompositeStateMachines in interface StateMachineMetaBuildergetCompositeStateMachines in interface StateMachineMetadatapublic StateMetadata[] getAllStates()
getAllStates in interface StateMachineMetadatapublic StateMetadata getState(Object stateKey)
getState in interface StateMachineMetadatapublic ConditionMetadata[] getDeclaredConditions()
getDeclaredConditions in interface StateMachineMetadatapublic ConditionMetadata[] getAllCondtions()
getAllCondtions in interface StateMachineMetadatapublic ConditionMetadata getCondtion(Object conditionKey)
getCondtion in interface StateMachineMetadatapublic boolean hasCondition(Object conditionKey)
hasCondition in interface StateMachineMetadataprotected StateMachineMetadata findSuper(Class<?> metaClass) throws VerificationException
findSuper in class InheritableAnnotationMetaBuilderBase<StateMachineMetadata,StateMachineMetadata>VerificationExceptionprotected boolean hasSuper(Class<?> metaClass)
hasSuper in class InheritableAnnotationMetaBuilderBase<StateMachineMetadata,StateMachineMetadata>public RelationMetadata getDeclaredRelationMetadata(Object relationKey)
getDeclaredRelationMetadata in interface StateMachineMetadatapublic RelationMetadata getRelationMetadata(Object relationKey)
getRelationMetadata in interface StateMachineMetadataCopyright © 2015. All Rights Reserved.