Package com.iizigo.ws.editor
Interface IEditorReplyProcessor
- All Superinterfaces:
IReplyProcessor
- All Known Implementing Classes:
EditorJSONReplyDocument
public interface IEditorReplyProcessor extends IReplyProcessor
The reply processor for the Designer.- Author:
- Christopher Mindus
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
couldBecomeProcessor(IReplyContent reply)
Verifies if this processor could potentially become a valid processor if it receives identification information.PropCnr
createFirstProcessorIdentification(EditorOutputProps output, IReplyContent reply)
Creates the required identification properties to start to become a valid processor.java.lang.String
getDescription()
Gets the description of this this processor.boolean
processReply(WebServiceEditor editor, EditorOutputProps output, boolean doPerform, java.util.List<VSComponent> list, java.util.Map<VSComponent,java.lang.Throwable> errors)
Processes a stored reply contents.DesignerProp
setReply(IReplyContent reply)
Updates the output for the processor with a new reply that should replace the old one.Methods inherited from interface com.iizix.ws.api.IReplyProcessor
getFailureMessage, getReplyMatch, processReply
Method Detail
couldBecomeProcessor
boolean couldBecomeProcessor(IReplyContent reply)
Verifies if this processor could potentially become a valid processor if it receives identification information.- Parameters:
reply
- The reply contents.- Returns:
- Flag for processor is candidate.
createFirstProcessorIdentification
PropCnr createFirstProcessorIdentification(EditorOutputProps output, IReplyContent reply)
Creates the required identification properties to start to become a valid processor.- Parameters:
output
- The output properties.reply
- The reply.- Returns:
- The property container to process identifications.
setReply
DesignerProp setReply(IReplyContent reply)
Updates the output for the processor with a new reply that should replace the old one.- Parameters:
reply
- The reply.- Returns:
- The DesignerProp that shows the output in the tree.
getDescription
java.lang.String getDescription()
Gets the description of this this processor.- Returns:
- A descriptive text.
processReply
boolean processReply(WebServiceEditor editor, EditorOutputProps output, boolean doPerform, java.util.List<VSComponent> list, java.util.Map<VSComponent,java.lang.Throwable> errors)
Processes a stored reply contents.- Parameters:
editor
- The Editor.output
- The output properties.doPerform
- The reply contents.list
- List filled with propagated items.errors
- Map filled with errors.- Returns:
- true for success, false if not possible.