public abstract class AbstractPathTransitionProvider<T,K extends TransitionKey<T>> extends AbstractTransitionFactory<T,K> implements PathTransitionProvider<K,T>
conn
Constructor and Description |
---|
AbstractPathTransitionProvider(AppContext c) |
Modifier and Type | Method and Description |
---|---|
<R> R |
accept(TransitionFactoryVisitor<R,T,K> vis)
Accept a
TransitionFactoryVisitor . |
addTransition, getTransition, getTransition, getTransitions, lookupTransition, sortByKey
getContext, getLogger, resetLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getID, getTarget
allowTransition, getSummaryContent, getTargetName, getTransition, getTransitions, lookupTransition
getContext
public AbstractPathTransitionProvider(AppContext c)
c
- public final <R> R accept(TransitionFactoryVisitor<R,T,K> vis)
TransitionFactory
TransitionFactoryVisitor
.
Any code that depends on
the particular sub-interface of TransitionFactory
should implement TransitionFactoryVisitor
this ensures it will always
handle all possible sub-classes.accept
in interface PathTransitionProvider<K extends TransitionKey<T>,T>
accept
in interface TransitionFactory<K extends TransitionKey<T>,T>