com.xebialabs.deployit.plugin.tomcat.deployed
Class ContextElement<D extends com.xebialabs.deployit.plugin.api.udm.Deployable>

java.lang.Object
  extended by com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
      extended by com.xebialabs.deployit.plugin.api.udm.base.BaseDeployed<D,com.xebialabs.deployit.plugin.overthere.HostContainer>
          extended by com.xebialabs.deployit.plugin.generic.deployed.AbstractDeployed<D>
              extended by com.xebialabs.deployit.plugin.generic.deployed.AbstractDeployedArtifact<D>
                  extended by com.xebialabs.deployit.plugin.generic.deployed.ProcessedTemplate<D>
                      extended by com.xebialabs.deployit.plugin.tomcat.deployed.ContextElement<D>
All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem, com.xebialabs.deployit.plugin.api.udm.Deployed<D,com.xebialabs.deployit.plugin.overthere.HostContainer>, com.xebialabs.deployit.plugin.api.udm.EmbeddedDeployedContainer<D,com.xebialabs.deployit.plugin.overthere.HostContainer>, java.io.Serializable, java.lang.Comparable<com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem>

@Metadata(virtual=true,
          description="Base type for all Tomcat resources")
public class ContextElement<D extends com.xebialabs.deployit.plugin.api.udm.Deployable>
extends com.xebialabs.deployit.plugin.generic.deployed.ProcessedTemplate<D>

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.xebialabs.deployit.plugin.generic.deployed.AbstractDeployed
STEP_OPTION_NONE, STEP_OPTION_UPLOAD_ARTIFACT_DATA, STEP_OPTION_UPLOAD_CLASSPATH_RESOURCES, STEP_OPTION_UPLOAD_TEMPLATE_CLASSPATH_RESOURCES, STEP_OPTIONS_DESCRIPTION_SUFFIX, STEP_OPTIONS_REGEX
 
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.EmbeddedDeployedContainer
CONTAINER_FIELD, DEPLOYABLE_FIELD
 
Fields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD
 
Constructor Summary
ContextElement()
           
 
Method Summary
 void executeCreate(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx, com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
           
 void executeDestroy(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx, com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
           
 void executeModify(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx, com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
           
 java.lang.String getContext()
           
 java.lang.String getDescription(java.lang.String verb)
           
 boolean isCreateOperation()
           
 boolean isDestroyOperation()
           
 void setContext(java.lang.String context)
           
 void setCreateOperation(boolean createOperation)
           
 void setDestroyOperation(boolean destroyOperation)
           
 
Methods inherited from class com.xebialabs.deployit.plugin.generic.deployed.ProcessedTemplate
createArtifactDeleteStep, createTemplateArtifactCopyStep, getTemplate, setTemplate
 
Methods inherited from class com.xebialabs.deployit.plugin.generic.deployed.AbstractDeployedArtifact
getTargetDirectory, getTargetFile, isCreateTargetDirectory, isTargetDirectoryShared, resolveTargetFileName, setCreateTargetDirectory, setTargetDirectory, setTargetDirectoryShared, setTargetFile
 
Methods inherited from class com.xebialabs.deployit.plugin.generic.deployed.AbstractDeployed
controlTaskDispatch, getCreateOptions, getCreateOrder, getCreateVerb, getDeployedApplication, getDeployedAsFreeMarkerContext, getDestroyOptions, getDestroyOrder, getDestroyVerb, getInspectClasspathResources, getInspectScript, getInspectTemplateClasspathResources, getModifyOptions, getModifyOrder, getModifyVerb, getNoopOptions, getNoopOrder, getNoopVerb, getPlanOperation, getPropertyOrContainerDefault, inspectContainer, isRestartRequired, isRestartRequiredForNoop, resolveExpression, resolveExpression, resolveExpression, resolveExpression, setCreateOptions, setCreateOrder, setCreateVerb, setDeployedApplication, setDestroyOptions, setDestroyOrder, setDestroyVerb, setInspectClasspathResources, setInspectScript, setInspectTemplateClasspathResources, setModifyOptions, setModifyOrder, setModifyVerb, setNoopOptions, setNoopOrder, setNoopVerb, setPlanOperation, setRestartRequired, setRestartRequiredForNoop
 
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

ContextElement

public ContextElement()
Method Detail

executeCreate

public void executeCreate(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
                          com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
Overrides:
executeCreate in class com.xebialabs.deployit.plugin.generic.deployed.ProcessedTemplate<D extends com.xebialabs.deployit.plugin.api.udm.Deployable>

executeModify

public void executeModify(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
                          com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
Overrides:
executeModify in class com.xebialabs.deployit.plugin.generic.deployed.ProcessedTemplate<D extends com.xebialabs.deployit.plugin.api.udm.Deployable>

executeDestroy

public void executeDestroy(com.xebialabs.deployit.plugin.api.deployment.planning.DeploymentPlanningContext ctx,
                           com.xebialabs.deployit.plugin.api.deployment.specification.Delta delta)
Overrides:
executeDestroy in class com.xebialabs.deployit.plugin.generic.deployed.ProcessedTemplate<D extends com.xebialabs.deployit.plugin.api.udm.Deployable>

getDescription

public java.lang.String getDescription(java.lang.String verb)
Overrides:
getDescription in class com.xebialabs.deployit.plugin.generic.deployed.AbstractDeployed<D extends com.xebialabs.deployit.plugin.api.udm.Deployable>

getContext

public java.lang.String getContext()

setContext

public void setContext(java.lang.String context)

isDestroyOperation

public boolean isDestroyOperation()

setDestroyOperation

public void setDestroyOperation(boolean destroyOperation)

isCreateOperation

public boolean isCreateOperation()

setCreateOperation

public void setCreateOperation(boolean createOperation)