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 Summary
ConstructorsConstructorDescriptionInvocationDescriptorView(String name, String input, String output, String diff, List<InvocationProcessorView> processors, Map<String, String> errors) -
Method Summary
Modifier and TypeMethodDescriptiongetDiff()Returns diff object as string.Returns map of errors per processor.getInput()Returns input object as string.getName()Returns invocation name.Returns output object as string.Returns list of processor details that were used in invocation transformations in order of execution.voidSets diff object as string.voidSets map of errors per processor.voidSets input object as string.voidSets invocation name as string.voidSets output object as string.voidsetProcessors(List<InvocationProcessorView> processors) Sets list of processor details that were used in invocation transformations in order of execution.Methods inherited from class com.xebialabs.deployit.engine.api.dto.AbstractDto
toString
-
Constructor Details
-
InvocationDescriptorView
public InvocationDescriptorView() -
InvocationDescriptorView
-
-
Method Details
-
getName
Returns invocation name.- Returns:
- The invocation name set by the plugin. Defaults to "Untitled transformation" constant.
-
setName
Sets invocation name as string.- Parameters:
name- The invocation name for transformation.
-
getInput
Returns input object as string.- Returns:
- The input document for transformation.
-
setInput
Sets input object as string.- Parameters:
input- The input document for transformation.
-
getOutput
Returns output object as string.- Returns:
- The output document from transformation.
-
setOutput
Sets output object as string.- Parameters:
output- The output document from transformation.
-
getDiff
Returns diff object as string.- Returns:
- The diff for input and output adopted for text preview.
-
setDiff
Sets diff object as string.- Parameters:
diff- The diff for input and output adopted for text preview.
-
getProcessors
Returns list of processor details that were used in invocation transformations in order of execution.- Returns:
- List of processors.
-
setProcessors
Sets list of processor details that were used in invocation transformations in order of execution.- Parameters:
processors- List of processors.
-
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
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.
-