public abstract class AbstractPartialDeployPluginProvider extends AbstractPluginProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MARKER |
protected java.util.List<java.lang.String> |
mFailedArtifacts |
protected java.util.Map<java.lang.String,java.lang.String> |
mFailedMessages |
Constructor and Description |
---|
AbstractPartialDeployPluginProvider() |
Modifier and Type | Method and Description |
---|---|
protected void |
_afterBuild() |
protected void |
_afterDeploy(PluginObjectResults pPluginObjectResults) |
protected void |
_beforeBuild() |
protected void |
_beforeDeploy(PluginObjectResults pPluginObjectResults) |
PluginResult |
execute()
Must be implemented by the concrete subclass to perform the execution of the plugin operation.
|
protected abstract DeployStatusEnum |
executeFile(PackageObject pPackageObject,
java.io.File pFile)
Subclass can implement processing of each individual package object.
|
protected void |
extractArtifactZip() |
protected void |
generateArtifactZipFile(java.util.List<PackageObject> pPackageObjects)
Subclass can implement how to create artifact zip file.
|
protected boolean |
getStopOnError()
Subclass can implement if they want to stop on error or not.
|
protected boolean |
isBuild() |
protected boolean |
isDeploy() |
protected void |
markEnd() |
protected void |
markStart(java.lang.String pObjectPath) |
protected boolean |
shouldAttemptDeploy(PackageObject pPo) |
abortOnRequest, abortOnRequest, cleanup, getBooleanCurrentInstancePropertyValue, getBooleanCurrentInstancePropertyValueOrDefault, getBooleanInput, getBooleanInputOrDefault, getBooleanInstancePropertyValue, getBooleanInstancePropertyValueOrDefault, getBooleanProjectPropertyValue, getBooleanProjectPropertyValueOrDefault, getDoubleCurrentInstancePropertyValue, getDoubleCurrentInstancePropertyValueOrDefault, getDoubleInput, getDoubleInputOrDefault, getDoubleInstancePropertyValue, getDoubleInstancePropertyValueOrDefault, getDoubleProjectPropertyValue, getDoubleProjectPropertyValueOrDefault, getIntegerCurrentInstancePropertyValue, getIntegerCurrentInstancePropertyValueOrDefault, getIntegerInput, getIntegerInputOrDefault, getIntegerInstancePropertyValue, getIntegerInstancePropertyValueOrDefault, getIntegerProjectPropertyValue, getIntegerProjectPropertyValueOrDefault, getLongCurrentInstancePropertyValue, getLongCurrentInstancePropertyValueOrDefault, getLongInput, getLongInputOrDefault, getLongInstancePropertyValue, getLongInstancePropertyValueOrDefault, getLongProjectPropertyValue, getLongProjectPropertyValueOrDefault, getStringCurrentInstancePropertyValue, getStringCurrentInstancePropertyValueOrDefault, getStringInput, getStringInputOrDefault, getStringInstancePropertyValue, getStringInstancePropertyValueOrDefault, getStringProjectPropertyValue, getStringProjectPropertyValueOrDefault, getWorkflowExecutionContext, isExecutionAborting, setOutput, setWorkflowExecutionContext, validate, validateContext, validateContext, validateRequiredInputs, validateRequiredPropertiesForCurrentInstance, validateRequiredPropertiesForInstance
protected final java.util.List<java.lang.String> mFailedArtifacts
protected final java.util.Map<java.lang.String,java.lang.String> mFailedMessages
public static final java.lang.String MARKER
protected boolean isBuild()
protected boolean isDeploy()
public PluginResult execute() throws FlexCheckedException
AbstractPluginProvider
execute
in interface PluginProvider
execute
in class AbstractPluginProvider
FlexCheckedException
- if the plugin operation failsprotected void _afterBuild() throws FlexCheckedException
FlexCheckedException
protected void _beforeBuild() throws FlexCheckedException
FlexCheckedException
protected void _afterDeploy(PluginObjectResults pPluginObjectResults) throws FlexCheckedException
FlexCheckedException
protected void _beforeDeploy(PluginObjectResults pPluginObjectResults) throws FlexCheckedException
FlexCheckedException
protected boolean shouldAttemptDeploy(PackageObject pPo)
protected void extractArtifactZip() throws FlexCheckedException
FlexCheckedException
protected void markStart(java.lang.String pObjectPath)
protected void markEnd()
protected abstract DeployStatusEnum executeFile(PackageObject pPackageObject, java.io.File pFile) throws FlexCheckedException
pPackageObject
- pFile
- FlexCheckedException
protected void generateArtifactZipFile(java.util.List<PackageObject> pPackageObjects) throws FlexCheckedException
pPackageObjects
- FlexCheckedException
protected boolean getStopOnError()