@Entity public class TestPlan extends AbstractUUIDEntity implements Serializable, Cloneable
| 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 |
clone() |
TestPlan.DeployerType |
getDeployerType()
Returns the deployer-type (puppet/ansible) of the test plan.
|
DeploymentConfig |
getDeploymentConfig()
Returns the deployment configuration in the test-plan.
|
DeploymentPattern |
getDeploymentPattern()
Returns the deployment pattern associated with.
|
String |
getDeploymentRepository()
Returns the path of the deployment repository.
|
String |
getInfraParameters()
Returns the infra parameters.
|
InfrastructureConfig |
getInfrastructureConfig() |
String |
getInfrastructureRepository()
Returns the path of the test plans' infrastructure artifacts.
|
ScenarioConfig |
getScenarioConfig() |
String |
getScenarioTestsRepository()
Returns the path of the test plans' test artifacts.
|
Status |
getStatus()
Returns the status of the infrastructure.
|
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 |
setDeploymentConfig(DeploymentConfig deploymentConfig)
Sets the deployment configuration of the test plan.
|
void |
setDeploymentPattern(DeploymentPattern deploymentPattern)
Sets the deployment pattern associated with.
|
void |
setDeploymentRepository(String deploymentRepository)
Sets the path of the deployment repository, which contains deploy.sh.
|
void |
setInfraParameters(String infraParameters)
Sets the infra parameters.
|
void |
setInfrastructureConfig(InfrastructureConfig infrastructureConfig) |
void |
setInfrastructureRepository(String infrastructureRepository)
Sets the path of the test plans' infrastructure artifacts.
|
void |
setScenarioConfig(ScenarioConfig scenarioConfig) |
void |
setScenarioTestsRepository(String scenarioTestsRepository)
Sets the path of the test plans' test artifacts.
|
void |
setStatus(Status status)
Sets the status of the infrastructure.
|
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 InfrastructureConfig getInfrastructureConfig()
public void setInfrastructureConfig(InfrastructureConfig infrastructureConfig)
public DeploymentConfig getDeploymentConfig()
public void setDeploymentConfig(DeploymentConfig deploymentConfig)
deploymentConfig - the deployment information of the test planpublic ScenarioConfig getScenarioConfig()
public void setScenarioConfig(ScenarioConfig scenarioConfig)
public String getScenarioTestsRepository()
public void setScenarioTestsRepository(String scenarioTestsRepository)
scenarioTestsRepository - the path of the test plans' test artifacts.public String getInfrastructureRepository()
public void setInfrastructureRepository(String infrastructureRepository)
infrastructureRepository - the path of the test plans' infrastructure artifactspublic String getDeploymentRepository()
public void setDeploymentRepository(String deploymentRepository)
deploymentRepository - the path of the deployment repositoryCopyright © 2018 WSO2. All rights reserved.