public interface FormResultVisitor extends Contexed
FormResultVisitor should only implement view/display logic. Changes of model state should happen in
a TransitionVisitor.
Certain environments may define additional types and need to
sub-class this interface. In this case the additional result types
will need to cast the visitor to the sub-type. The prime example of this is WebFormResultVisitor which handles
html-only result-types.WebFormResultVisitor![]() |
![]() |
| Modifier and Type | Method and Description |
|---|---|
void |
visitBackResult(BackResult res) |
<T,K> void |
visitChainedTransitionResult(ChainedTransitionResult<T,K> res) |
<T,K> void |
visitConfirmTransitionResult(ConfirmTransitionResult<T,K> res) |
void |
visitCustomPage(CustomPageResult res) |
void |
visitMessageResult(MessageResult res) |
default <T,K> void |
visitSerializableChainedTransitionResult(SerializableChainedTransitionResult<T,K> res) |
void |
visitServeDataResult(ServeDataResult res) |
getContext<T,K> void visitChainedTransitionResult(ChainedTransitionResult<T,K> res) throws java.lang.Exception
java.lang.Exceptiondefault <T,K> void visitSerializableChainedTransitionResult(SerializableChainedTransitionResult<T,K> res) throws java.lang.Exception
java.lang.Exception<T,K> void visitConfirmTransitionResult(ConfirmTransitionResult<T,K> res) throws java.lang.Exception
java.lang.Exceptionvoid visitMessageResult(MessageResult res) throws java.lang.Exception
java.lang.Exceptionvoid visitServeDataResult(ServeDataResult res) throws java.lang.Exception
java.lang.Exceptionvoid visitBackResult(BackResult res) throws java.lang.Exception
java.lang.Exceptionvoid visitCustomPage(CustomPageResult res) throws java.lang.Exception
java.lang.Exception