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:
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem,Serializable,Comparable<com.xebialabs.deployit.plugin.api.udm.base.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 interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor>intCollection<com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor>Collection<com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor>Collection<com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor>Collection<com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor>booleanvoidsetConfigurationUri(String configurationUri) voidsetCustomScriptTask(CustomScriptTask customScriptTask) voidsetMaxOutputPropertySize(int maxOutputPropertySize) voidsetSupportedInWorkflow(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, 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
public Collection<com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor> getPropertiesWithVariables() -
getInputProperties
public Collection<com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor> getInputProperties() -
getOutputProperties
public Collection<com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor> getOutputProperties() -
getTransitionalAndOutputProperties
public Collection<com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor> getTransitionalAndOutputProperties() -
getTransitionalProperties
public Collection<com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor> getTransitionalProperties() -
getCustomScriptTask
-
setCustomScriptTask
-
getIconLocation
-
getOutputVarHelpText
-
getTaskColor
-
getIconClass
-
getMaxOutputPropertySize
public int getMaxOutputPropertySize() -
setMaxOutputPropertySize
public void setMaxOutputPropertySize(int maxOutputPropertySize) -
getConfigurationUri
-
setConfigurationUri
-
isSupportedInWorkflow
public boolean isSupportedInWorkflow() -
setSupportedInWorkflow
public void setSupportedInWorkflow(boolean supportedInWorkflow) -
getScript
- Overrides:
getScriptin classBaseScript- Throws:
IOException
-
getAbortScript
- Overrides:
getAbortScriptin classBaseScript- Throws:
IOException
-