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 Details

    • 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

      String getDescription()
      Gets the description of this this processor.
      Returns:
      A descriptive text.
    • processReply

      boolean processReply(WebServiceEditor editor, EditorOutputProps output, boolean doPerform, List<VSComponent> list, Map<VSComponent,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.