@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() |
String |
getBuildURL() |
String |
getConfigChangeSetBranchName()
Get config change set repository branch name
|
String |
getConfigChangeSetRepository()
Return the path of config change set artifacts.
|
TestPlan.DeployerType |
getDeployerType()
Returns the deployer-type (puppet/ansible) of the test plan.
|
DeploymentConfig |
getDeploymentConfig()
Returns the deployment configuration in the test-plan.
|
DeploymentCreationResult |
getDeploymentCreationResult() |
DeploymentPattern |
getDeploymentPattern()
Returns the deployment pattern associated with.
|
String |
getDeploymentRepository()
Returns the path of the deployment repository.
|
String |
getEmailToList() |
String |
getInfraParameters()
Returns the infra parameters.
|
InfrastructureConfig |
getInfrastructureConfig() |
Properties |
getInfrastructureProperties() |
InfrastructureProvisionResult |
getInfrastructureProvisionResult() |
String |
getInfrastructureRepository()
Returns the path of the test plans' infrastructure artifacts.
|
String |
getJobName() |
Properties |
getJobProperties()
Get the list of build properties associated with this test plan.
|
String |
getKeyFileLocation()
Get the location of the key file used to access the instances.
|
String |
getLogUrl()
Returns the URL to view WSO2 server logs.
|
TestPlanPhase |
getPhase()
Returns the phase of the test-plan
|
ResultFormat |
getResultFormat()
Returns the ResultFormatter object fot the specific TestPlan
|
List<ScenarioConfig> |
getScenarioConfigs() |
String |
getScenarioTestsRepository()
Returns the path of the test plans' test artifacts.
|
TestPlanStatus |
getStatus()
Returns the status of the infrastructure.
|
int |
getTestRunNumber()
Returns the test run number.
|
List<TestScenario> |
getTestScenarios()
Returns the associated test scenarios.
|
String |
getWorkspace()
Return the workspace of the TestPlan.
|
void |
setBuildURL(String buildURL) |
void |
setConfigChangeSetBranchName(String configChangeSetBranchName)
Set config change set repository branch name
|
void |
setConfigChangeSetRepository(String configChangeSetRepository)
Sets the path of the config change set artifacts.
|
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 |
setDeploymentCreationResult(DeploymentCreationResult deploymentCreationResult) |
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 |
setEmailToList(String emailToList) |
void |
setInfraParameters(String infraParameters)
Sets the infra parameters.
|
void |
setInfrastructureConfig(InfrastructureConfig infrastructureConfig) |
void |
setInfrastructureProperties(Properties infrastructureProperties) |
void |
setInfrastructureProvisionResult(InfrastructureProvisionResult infrastructureProvisionResult) |
void |
setInfrastructureRepository(String infrastructureRepository)
Sets the path of the test plans' infrastructure artifacts.
|
void |
setJobName(String jobName) |
void |
setJobProperties(Properties jobProperties)
|
void |
setKeyFileLocation(String keyFileLocation)
Sets the location of the key file.
|
void |
setLogUrl(String logUrl)
Returns the URL to view WSO2 server logs.
|
void |
setPhase(TestPlanPhase testPlanPhase)
Set the phase of the test-plan
|
void |
setResultFormat(ResultFormat resultFormat)
Set the ResultFormatter object for the TestPlan
|
void |
setScenarioConfigs(List<ScenarioConfig> scenarioConfig) |
void |
setScenarioTestsRepository(String scenarioTestsRepository)
Sets the path of the test plans' test artifacts.
|
void |
setStatus(TestPlanStatus 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.
|
void |
setWorkspace(String workspace) |
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 TestPlanPhase getPhase()
public void setPhase(TestPlanPhase testPlanPhase)
public TestPlanStatus getStatus()
public void setStatus(TestPlanStatus 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 List<ScenarioConfig> getScenarioConfigs()
public void setScenarioConfigs(List<ScenarioConfig> scenarioConfig)
public String getScenarioTestsRepository()
public void setScenarioTestsRepository(String scenarioTestsRepository)
scenarioTestsRepository - the path of the test plans' test artifacts.public String getConfigChangeSetRepository()
public void setConfigChangeSetRepository(String configChangeSetRepository)
configChangeSetRepository - the path of config change set artifacts.public String getConfigChangeSetBranchName()
public void setConfigChangeSetBranchName(String configChangeSetBranchName)
configChangeSetBranchName - 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 repositorypublic Properties getJobProperties()
JobConfigFile.getProperties().public void setJobProperties(Properties jobProperties)
jobProperties - build propertiespublic ResultFormat getResultFormat()
public void setResultFormat(ResultFormat resultFormat)
resultFormat - ResultFormatter object to be setpublic String getKeyFileLocation()
public void setKeyFileLocation(String keyFileLocation)
keyFileLocation - location of the key filepublic String getLogUrl()
public void setLogUrl(String logUrl)
logUrl - Log location URLpublic String getJobName()
public void setJobName(String jobName)
public String getWorkspace()
public void setWorkspace(String workspace)
public String getEmailToList()
public void setEmailToList(String emailToList)
public void setBuildURL(String buildURL)
public String getBuildURL()
public InfrastructureProvisionResult getInfrastructureProvisionResult()
public void setInfrastructureProvisionResult(InfrastructureProvisionResult infrastructureProvisionResult)
public DeploymentCreationResult getDeploymentCreationResult()
public void setDeploymentCreationResult(DeploymentCreationResult deploymentCreationResult)
public Properties getInfrastructureProperties()
public void setInfrastructureProperties(Properties infrastructureProperties)
Copyright © 2019 WSO2. All rights reserved.