K
- key typeT
- target typepublic interface PathTransitionProvider<K,T> extends TransitionFactory<K,T>
TransitionFactory
where the target objects
are represented as a location path.Modifier and Type | Method and Description |
---|---|
default <R> R |
accept(TransitionFactoryVisitor<R,T,K> vis)
Accept a
TransitionFactoryVisitor . |
java.util.LinkedList<java.lang.String> |
getID(T target)
Get the id string for form posts from a target
|
T |
getTarget(java.util.LinkedList<java.lang.String> id)
Find target type by id string
|
allowTransition, getSummaryContent, getTargetName, getTransition, getTransitions, lookupTransition
getContext
T getTarget(java.util.LinkedList<java.lang.String> id)
id
- java.util.LinkedList<java.lang.String> getID(T target)
target
- default <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 TransitionFactory<K,T>