com.xebialabs.deployit.test.support
Class DeployedItestChangeSet

java.lang.Object
  extended by com.xebialabs.deployit.test.support.DeployedItestChangeSet

public class DeployedItestChangeSet
extends java.lang.Object


Nested Class Summary
static class DeployedItestChangeSet.DeployMode
          Deprecated. Use DeployedItestChangeSet.TestAction instead.
static class DeployedItestChangeSet.TestAction
           
 
Constructor Summary
protected DeployedItestChangeSet(java.io.File changesetXmlFile, com.xebialabs.deployit.plugin.api.udm.Container container, ItestTopology topology, org.junit.rules.TemporaryFolder folder)
           
 
Method Summary
 void addAdditionalTypeToDiscover(java.lang.String type)
           
 void addDeployedToCreate(com.xebialabs.deployit.plugin.api.udm.Deployed d)
           
 void addDeployedToModify(com.xebialabs.deployit.plugin.api.udm.Deployed d)
           
protected  void associateDeployedIdsWithContainer()
           
protected  com.xebialabs.deployit.plugin.api.udm.Deployed cloneDeployed(com.xebialabs.deployit.plugin.api.udm.Deployed deployed)
           
protected  java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> cloneForInspection(java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> deployeds)
           
 boolean deployedToBeCreatedExists(java.lang.String id)
           
 java.util.List<com.xebialabs.deployit.plugin.api.reflect.Type> getAdditionalTypesToDiscover()
           
 java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> getDeployedsToCreate()
           
 java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> getDeployedsToModify()
           
 com.xebialabs.deployit.plugin.api.udm.Deployed getDeployedToCreate(java.lang.String id)
           
 com.xebialabs.deployit.plugin.api.udm.Deployed getDeployedToModify(java.lang.String id)
           
 DeployedItestChangeSet.DeployMode getDeployMode()
           
 java.util.List<DeployedItestChangeSet.TestAction> getTests()
           
 boolean hasDeployedsToCreate()
           
 boolean hasDeployedsToModify()
           
protected  void init()
           
static DeployedItestChangeSet loadChangeSet(java.io.File changesetXmlFile, com.xebialabs.deployit.plugin.api.udm.Container container, ItestTopology topology, org.junit.rules.TemporaryFolder folder)
           
protected  com.xebialabs.deployit.plugin.api.udm.ConfigurationItem resolveCiReference(org.jdom2.Element p, com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor pd)
           
protected  void setDeployMode(java.lang.String deployModeAttribute)
           
protected  void setTests(java.lang.String testsString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeployedItestChangeSet

protected DeployedItestChangeSet(java.io.File changesetXmlFile,
                                 com.xebialabs.deployit.plugin.api.udm.Container container,
                                 ItestTopology topology,
                                 org.junit.rules.TemporaryFolder folder)
Method Detail

loadChangeSet

public static DeployedItestChangeSet loadChangeSet(java.io.File changesetXmlFile,
                                                   com.xebialabs.deployit.plugin.api.udm.Container container,
                                                   ItestTopology topology,
                                                   org.junit.rules.TemporaryFolder folder)
                                            throws org.jdom2.JDOMException,
                                                   java.io.IOException
Throws:
org.jdom2.JDOMException
java.io.IOException

init

protected void init()
             throws org.jdom2.JDOMException,
                    java.io.IOException
Throws:
org.jdom2.JDOMException
java.io.IOException

setTests

protected void setTests(java.lang.String testsString)

setDeployMode

protected void setDeployMode(java.lang.String deployModeAttribute)

resolveCiReference

protected com.xebialabs.deployit.plugin.api.udm.ConfigurationItem resolveCiReference(org.jdom2.Element p,
                                                                                     com.xebialabs.deployit.plugin.api.reflect.PropertyDescriptor pd)

associateDeployedIdsWithContainer

protected void associateDeployedIdsWithContainer()

cloneForInspection

protected java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> cloneForInspection(java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> deployeds)

cloneDeployed

protected com.xebialabs.deployit.plugin.api.udm.Deployed cloneDeployed(com.xebialabs.deployit.plugin.api.udm.Deployed deployed)

getTests

public java.util.List<DeployedItestChangeSet.TestAction> getTests()

getDeployMode

public DeployedItestChangeSet.DeployMode getDeployMode()

getAdditionalTypesToDiscover

public java.util.List<com.xebialabs.deployit.plugin.api.reflect.Type> getAdditionalTypesToDiscover()

hasDeployedsToCreate

public boolean hasDeployedsToCreate()

hasDeployedsToModify

public boolean hasDeployedsToModify()

addAdditionalTypeToDiscover

public void addAdditionalTypeToDiscover(java.lang.String type)

addDeployedToCreate

public void addDeployedToCreate(com.xebialabs.deployit.plugin.api.udm.Deployed d)

addDeployedToModify

public void addDeployedToModify(com.xebialabs.deployit.plugin.api.udm.Deployed d)

getDeployedToCreate

public com.xebialabs.deployit.plugin.api.udm.Deployed getDeployedToCreate(java.lang.String id)

getDeployedToModify

public com.xebialabs.deployit.plugin.api.udm.Deployed getDeployedToModify(java.lang.String id)

deployedToBeCreatedExists

public boolean deployedToBeCreatedExists(java.lang.String id)

getDeployedsToCreate

public java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> getDeployedsToCreate()

getDeployedsToModify

public java.util.List<com.xebialabs.deployit.plugin.api.udm.Deployed> getDeployedsToModify()