com.xebialabs.deployit.test.support
Class TestUtils
java.lang.Object
com.xebialabs.deployit.test.support.TestUtils
public class TestUtils
- extends java.lang.Object
|
Method Summary |
static
<T extends com.xebialabs.deployit.plugin.api.udm.artifact.SourceArtifact>
T |
|
createArtifact(java.lang.String name,
java.lang.String version,
java.lang.String classpathResource,
java.lang.String type,
java.io.File workingFolder)
|
static
<T extends com.xebialabs.deployit.plugin.api.udm.artifact.SourceArtifact>
T |
|
createArtifactWithoutCopy(java.lang.String name,
java.lang.String version,
java.lang.String classpathResource,
java.lang.String type,
java.io.File workingFolder)
|
static com.xebialabs.deployit.plugin.api.udm.DeployedApplication |
createDeployedApplication(com.xebialabs.deployit.plugin.api.udm.DeploymentPackage pkg,
com.xebialabs.deployit.plugin.api.udm.Environment env)
|
static com.xebialabs.deployit.plugin.api.udm.DeploymentPackage |
createDeploymentPackage(com.xebialabs.deployit.plugin.api.udm.Deployable... deployables)
|
static com.xebialabs.deployit.plugin.api.udm.DeploymentPackage |
createDeploymentPackage(java.lang.String version,
com.xebialabs.deployit.plugin.api.udm.Deployable... deployables)
|
static com.xebialabs.deployit.plugin.api.udm.Environment |
createEnvironment(com.xebialabs.deployit.plugin.api.udm.Container... containers)
|
static java.lang.String |
id(java.lang.String... names)
|
static
|
newInstance(java.lang.Class<T> clazz)
|
static
|
newInstance(java.lang.String type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestUtils
public TestUtils()
newInstance
public static <T> T newInstance(java.lang.String type)
newInstance
public static <T> T newInstance(java.lang.Class<T> clazz)
id
public static java.lang.String id(java.lang.String... names)
createDeploymentPackage
public static com.xebialabs.deployit.plugin.api.udm.DeploymentPackage createDeploymentPackage(com.xebialabs.deployit.plugin.api.udm.Deployable... deployables)
createDeploymentPackage
public static com.xebialabs.deployit.plugin.api.udm.DeploymentPackage createDeploymentPackage(java.lang.String version,
com.xebialabs.deployit.plugin.api.udm.Deployable... deployables)
createEnvironment
public static com.xebialabs.deployit.plugin.api.udm.Environment createEnvironment(com.xebialabs.deployit.plugin.api.udm.Container... containers)
createDeployedApplication
public static com.xebialabs.deployit.plugin.api.udm.DeployedApplication createDeployedApplication(com.xebialabs.deployit.plugin.api.udm.DeploymentPackage pkg,
com.xebialabs.deployit.plugin.api.udm.Environment env)
createArtifact
public static <T extends com.xebialabs.deployit.plugin.api.udm.artifact.SourceArtifact> T createArtifact(java.lang.String name,
java.lang.String version,
java.lang.String classpathResource,
java.lang.String type,
java.io.File workingFolder)
throws java.io.IOException
- Throws:
java.io.IOException
createArtifactWithoutCopy
public static <T extends com.xebialabs.deployit.plugin.api.udm.artifact.SourceArtifact> T createArtifactWithoutCopy(java.lang.String name,
java.lang.String version,
java.lang.String classpathResource,
java.lang.String type,
java.io.File workingFolder)
throws java.net.URISyntaxException
- Throws:
java.net.URISyntaxException