com.xebialabs.deployit.plugin.cmd.deployed
Class DeployedCommand

java.lang.Object
  extended by com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
      extended by com.xebialabs.deployit.plugin.api.udm.base.BaseDeployed<Command,com.xebialabs.deployit.plugin.overthere.Host>
          extended by com.xebialabs.deployit.plugin.cmd.deployed.DeployedCommand
All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem, com.xebialabs.deployit.plugin.api.udm.Deployed<Command,com.xebialabs.deployit.plugin.overthere.Host>, java.io.Serializable, java.lang.Comparable<com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem>

@Metadata(description="Command deployed to a Host")
public class DeployedCommand
extends com.xebialabs.deployit.plugin.api.udm.base.BaseDeployed<Command,com.xebialabs.deployit.plugin.overthere.Host>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
id, syntheticProperties, type
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.Deployed
CONTAINER_FIELD, DEPLOYABLE_FIELD
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
 
Constructor Summary
DeployedCommand()
           
 
Method Summary
 void destroyCommand(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx, com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
           
 void executeCreateCommand(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx, com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
           
 void executeModifyCommand(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx, com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
           
 java.lang.String getCommandLine()
           
 java.util.Set<com.xebialabs.deployit.plugin.file.File> getDependencies()
           
 int getOrder()
           
 Command getUndoCommand()
           
 boolean isRerunCommand()
           
 boolean isRunUndoCommandOnUpgrade()
           
 void setCommandLine(java.lang.String commandLine)
           
 void setDependencies(java.util.Set<com.xebialabs.deployit.plugin.file.File> dependencies)
           
 void setOrder(int order)
           
 void setRerunCommand(boolean rerunCommand)
           
 void setRunUndoCommandOnUpgrade(boolean runUndoCommandOnUpgrade)
           
 void setUndoCommand(Command undoCommand)
           
 
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseDeployed
getContainer, getDeployable, setContainer, setDeployable
 
Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
compareTo, equals, get$token, getId, getName, getProperty, getPropertyDescriptor, getSyntheticProperties, getSyntheticProperty, getType, hashCode, hasProperty, hasSyntheticProperty, putSyntheticProperties, putSyntheticProperty, set$token, setId, setProperty, setSyntheticProperties, setType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
getId, getName, getProperty, getSyntheticProperties, getSyntheticProperty, getType, hasProperty, putSyntheticProperty, setId, setProperty
 

Constructor Detail

DeployedCommand

public DeployedCommand()
Method Detail

executeCreateCommand

public void executeCreateCommand(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
                                 com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)

executeModifyCommand

public void executeModifyCommand(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
                                 com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)

destroyCommand

public void destroyCommand(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
                           com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)

getDependencies

public java.util.Set<com.xebialabs.deployit.plugin.file.File> getDependencies()

setDependencies

public void setDependencies(java.util.Set<com.xebialabs.deployit.plugin.file.File> dependencies)

getOrder

public int getOrder()

setOrder

public void setOrder(int order)

getCommandLine

public java.lang.String getCommandLine()

setCommandLine

public void setCommandLine(java.lang.String commandLine)

getUndoCommand

public Command getUndoCommand()

setUndoCommand

public void setUndoCommand(Command undoCommand)

isRunUndoCommandOnUpgrade

public boolean isRunUndoCommandOnUpgrade()

setRunUndoCommandOnUpgrade

public void setRunUndoCommandOnUpgrade(boolean runUndoCommandOnUpgrade)

isRerunCommand

public boolean isRerunCommand()

setRerunCommand

public void setRerunCommand(boolean rerunCommand)