Class Preview
java.lang.Object
com.xebialabs.deployit.plugin.api.flow.Preview
- All Implemented Interfaces:
Serializable
An preview of the script that a step is going to execute, or of the template that will be copied.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns a preview of the script that will be executed or the template that will be copied.Returns the path of the source of the rendered content, e.g.voidsetContents(String contents) voidsetSourcePath(String sourcePath) static PreviewwithContents(String contents) static PreviewwithSourcePathAndContents(String sourcePath, String contents)
-
Method Details
-
withContents
-
withSourcePathAndContents
-
getSourcePath
Returns the path of the source of the rendered content, e.g. a script or a FreeMarker template on the classpath.- Returns:
- the path of the source or
nullif that information is not known.
-
setSourcePath
-
getContents
Returns a preview of the script that will be executed or the template that will be copied. This will be displayed in the GUI using a fixed-width font.- Returns:
- The preview.
-
setContents
-