Package com.xebialabs.xlrelease.domain
Class PythonScript
java.lang.Object
com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
com.xebialabs.xlrelease.domain.BaseScript
com.xebialabs.xlrelease.domain.BasePythonScript
com.xebialabs.xlrelease.domain.PythonScript
- All Implemented Interfaces:
ConfigurationItem
,Serializable
,Comparable<BaseConfigurationItem>
Base class for the configuration of a custom Python task.
Users subclass this in synthetic.xml
to configure input parameters and output mappings for their custom script tasks.
Note: this should be called "PythonScriptDefinition", but was renamed for UX reasons since the type name is exposed to end users.
- See Also:
-
Field Summary
FieldsFields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
id, syntheticProperties, type
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
void
setConfigurationUri
(String configurationUri) void
setCustomScriptTask
(CustomScriptTask customScriptTask) void
setDocumentationPage
(String documentationPage) void
setMaxOutputPropertySize
(int maxOutputPropertySize) void
setSupportedInWorkflow
(boolean supportedInWorkflow) Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
compareTo, equals, get$ciAttributes, get$directoryReference, get$externalProperties, get$internalId, get$referenceId, get$securedCi, get$securedDirectoryReference, get$token, get$validationMessages, getId, getName, getProperty, getPropertyDescriptor, getType, hashCode, hasProperty, set$ciAttributes, set$directoryReference, set$externalProperties, set$internalId, set$referenceId, set$securedCi, set$securedDirectoryReference, set$token, set$validationMessages, setId, setProperty, setType, toString
-
Field Details
-
PYTHON_SCRIPT_ID
- See Also:
-
PYTHON_SCRIPT_PROPERTY
- See Also:
-
CUSTOM_SCRIPT_TASK_PROPERTY
- See Also:
-
UPDATEABLE_PROPERTIES
-
-
Constructor Details
-
PythonScript
public PythonScript()
-
-
Method Details
-
getPropertiesWithVariables
-
getInputProperties
-
getOutputProperties
-
getTransitionalAndOutputProperties
-
getTransitionalProperties
-
getCustomScriptTask
-
setCustomScriptTask
-
getIconLocation
-
getOutputVarHelpText
-
getTaskColor
-
getIconClass
-
getMaxOutputPropertySize
public int getMaxOutputPropertySize() -
setMaxOutputPropertySize
public void setMaxOutputPropertySize(int maxOutputPropertySize) -
getDocumentationPage
-
setDocumentationPage
-
getConfigurationUri
-
setConfigurationUri
-
isSupportedInWorkflow
public boolean isSupportedInWorkflow() -
setSupportedInWorkflow
public void setSupportedInWorkflow(boolean supportedInWorkflow) -
getScript
- Overrides:
getScript
in classBaseScript
- Throws:
IOException
-
getAbortScript
- Overrides:
getAbortScript
in classBaseScript
- Throws:
IOException
-