Class InvocationDescriptorView

java.lang.Object
com.xebialabs.deployit.engine.api.dto.AbstractDto
com.xebialabs.deployit.core.rest.view.InvocationDescriptorView
All Implemented Interfaces:
BasePreview

public class InvocationDescriptorView extends com.xebialabs.deployit.engine.api.dto.AbstractDto implements BasePreview
The invocation description object containing document input/output and diff for given invocation with list of called processors and possible errors.
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Returns invocation name.
      Returns:
      The invocation name set by the plugin. Defaults to "Untitled transformation" constant.
    • setName

      public void setName(String name)
      Sets invocation name as string.
      Parameters:
      name - The invocation name for transformation.
    • getInput

      public String getInput()
      Returns input object as string.
      Returns:
      The input document for transformation.
    • setInput

      public void setInput(String input)
      Sets input object as string.
      Parameters:
      input - The input document for transformation.
    • getOutput

      public String getOutput()
      Returns output object as string.
      Returns:
      The output document from transformation.
    • setOutput

      public void setOutput(String output)
      Sets output object as string.
      Parameters:
      output - The output document from transformation.
    • getDiff

      public String getDiff()
      Returns diff object as string.
      Returns:
      The diff for input and output adopted for text preview.
    • setDiff

      public void setDiff(String diff)
      Sets diff object as string.
      Parameters:
      diff - The diff for input and output adopted for text preview.
    • getProcessors

      public List<InvocationProcessorView> getProcessors()
      Returns list of processor details that were used in invocation transformations in order of execution.
      Returns:
      List of processors.
    • setProcessors

      public void setProcessors(List<InvocationProcessorView> processors)
      Sets list of processor details that were used in invocation transformations in order of execution.
      Parameters:
      processors - List of processors.
    • getErrors

      public Map<String,String> getErrors()
      Returns map of errors per processor.
      Returns:
      Map of errors with processor ID as key to indicate errors that happened during invocation. This list is empty if no errors occurred.
    • setErrors

      public void setErrors(Map<String,String> errors)
      Sets map of errors per processor.
      Parameters:
      errors - Map of errors with processor ID as key to indicate errors that happened during invocation. This list is empty if no errors occurred.