Class PipeLineResult

java.lang.Object
org.frankframework.core.PipeLineResult

public class PipeLineResult extends Object
The PipeLineResult is a type to store both the result of the PipeLine processing as well as an exit state.
The exit state is returned to the Adapter that hands it to the Receiver, so that the receiver knows whether or not the request was successfully processed, and might -for instance- not commit a received message.
Author:
Johan Verrips
  • Constructor Details

    • PipeLineResult

      public PipeLineResult()
  • Method Details

    • isSuccessful

      public boolean isSuccessful()
    • getResult

      @Nonnull public Message getResult()
    • getState

      @Nonnull public PipeLine.ExitState getState()
    • setExitCode

      public void setExitCode(int exitCode)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setResult

      public void setResult(Message result)
    • setState

      public void setState(PipeLine.ExitState state)
    • getExitCode

      public Integer getExitCode()