@Entity public class TestPlan extends AbstractUUIDEntity implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
TestPlan.DeployerType
This defines the supported deployment automation tools.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
DEPLOYMENT_PATTERN_COLUMN |
static String |
STATUS_COLUMN
Column names of the table.
|
static String |
TEST_PLAN_TABLE
TestPlan table name.
|
static String |
TESTRUN_NUMBER_COLUMN |
ID_COLUMN| Constructor and Description |
|---|
TestPlan() |
| Modifier and Type | Method and Description |
|---|---|
TestPlan.DeployerType |
getDeployerType()
Returns the deployer-type (puppet/ansible) of the test plan.
|
Deployment |
getDeployment()
Returns the deployment information of the test plan.
|
DeploymentPattern |
getDeploymentPattern()
Returns the deployment pattern associated with.
|
String |
getDeploymentRepoDir()
Returns the path of the deployment repository.
|
Script |
getDeploymentScript()
Returns the location of additional deployment scripts attached with this test plan.
|
String |
getInfraParameters()
Returns the infra parameters.
|
String |
getInfraRepoDir()
Returns the path of the test plans' infrastructure artifacts.
|
Script |
getInfrastructureScript()
Returns the location of additional infrastructure scripts attached with this test plan.
|
Status |
getStatus()
Returns the status of the infrastructure.
|
String |
getTestRepoDir()
Returns the path of the test plans' test artifacts.
|
int |
getTestRunNumber()
Returns the test run number.
|
List<TestScenario> |
getTestScenarios()
Returns the associated test scenarios.
|
void |
setDeployerType(TestPlan.DeployerType deployerType)
Sets the deployer-type (puppet/ansible) of the test plan.
|
void |
setDeployment(Deployment deployment)
Sets the deployment information of the test plan.
|
void |
setDeploymentPattern(DeploymentPattern deploymentPattern)
Sets the deployment pattern associated with.
|
void |
setDeploymentRepoDir(String deploymentRepoDir)
Sets the path of the deployment repository, which contains deploy.sh.
|
void |
setDeploymentScript(Script deploymentScript)
Sets an additional deployment script path to this test plan to be executed after the general deployment has
completed.
|
void |
setInfraParameters(String infraParameters)
Sets the infra parameters.
|
void |
setInfraRepoDir(String infraRepoDir)
Sets the path of the test plans' infrastructure artifacts.
|
void |
setInfrastructureScript(Script infrastructureScript)
Sets an additional infrastructure script path to this test plan to be executed after the general infrastructure
has completed.
|
void |
setStatus(Status status)
Sets the status of the infrastructure.
|
void |
setTestRepoDir(String testRepoDir)
Sets the path of the test plans' test artifacts.
|
void |
setTestRunNumber(int testRunNumber)
Sets the test run number.
|
void |
setTestScenarios(List<TestScenario> testScenarios)
Sets the associated test scenarios.
|
String |
toString() |
generateUUID, getCreatedTimestamp, getId, getModifiedTimestamp, setCreatedTimestamp, setId, setModifiedTimestamppublic static final String TEST_PLAN_TABLE
public static final String STATUS_COLUMN
public static final String DEPLOYMENT_PATTERN_COLUMN
public static final String TESTRUN_NUMBER_COLUMN
public Status getStatus()
public void setStatus(Status status)
status - infrastructure statuspublic String getInfraParameters()
public void setInfraParameters(String infraParameters)
infraParameters - infra parameterspublic DeploymentPattern getDeploymentPattern()
public void setDeploymentPattern(DeploymentPattern deploymentPattern)
deploymentPattern - deployment pattern associated withpublic int getTestRunNumber()
public void setTestRunNumber(int testRunNumber)
testRunNumber - test run numberpublic List<TestScenario> getTestScenarios()
public void setTestScenarios(List<TestScenario> testScenarios)
testScenarios - associated test scenariospublic TestPlan.DeployerType getDeployerType()
public void setDeployerType(TestPlan.DeployerType deployerType)
deployerType - deployer-type (puppet/ansible) of the test planpublic Deployment getDeployment()
public void setDeployment(Deployment deployment)
deployment - the deployment information of the test planpublic String getTestRepoDir()
public void setTestRepoDir(String testRepoDir)
testRepoDir - the path of the test plans' test artifacts.public String getInfraRepoDir()
public void setInfraRepoDir(String infraRepoDir)
infraRepoDir - the path of the test plans' infrastructure artifactspublic String getDeploymentRepoDir()
public void setDeploymentRepoDir(String deploymentRepoDir)
deploymentRepoDir - the path of the deployment repositorypublic Script getInfrastructureScript()
public void setInfrastructureScript(Script infrastructureScript)
infrastructureScript - additional infrastructureScript script pathpublic Script getDeploymentScript()
public void setDeploymentScript(Script deploymentScript)
deploymentScript - additional deployment script pathCopyright © 2018 WSO2. All rights reserved.