@Entity public class Product extends AbstractUUIDEntity implements Serializable
All the test-configs will be mapped to a product based on the configuration.
A single product will have multiple deployment patterns
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME_COLUMN
Column names of the table.
|
static String |
PRODUCT_TABLE
Product test plan table name.
|
ID_COLUMN| Constructor and Description |
|---|
Product() |
| Modifier and Type | Method and Description |
|---|---|
List<DeploymentPattern> |
getDeploymentPatterns()
Returns the associated test plans list.
|
Timestamp |
getLastFailureTimestamp()
Returns the last failure timestamp of the product build.
|
Timestamp |
getLastSuccessTimestamp()
Returns the last success timestamp of the product build.
|
String |
getName()
Returns the product name.
|
void |
setDeploymentPatterns(List<DeploymentPattern> deploymentPatterns)
Sets the associated test plans list.
|
void |
setLastFailureTimestamp(Timestamp lastFailureTimestamp)
Sets the last failure timestamp of the product build.
|
void |
setLastSuccessTimestamp(Timestamp lastSuccessTimestamp)
Sets the last success timestamp of the product build.
|
void |
setName(String name)
Sets the product name.
|
String |
toString() |
generateUUID, getCreatedTimestamp, getId, getModifiedTimestamp, setCreatedTimestamp, setId, setModifiedTimestamppublic static final String PRODUCT_TABLE
public static final String NAME_COLUMN
public String getName()
public void setName(String name)
name - product namepublic List<DeploymentPattern> getDeploymentPatterns()
public void setDeploymentPatterns(List<DeploymentPattern> deploymentPatterns)
deploymentPatterns - associated test plans listpublic Timestamp getLastSuccessTimestamp()
public void setLastSuccessTimestamp(Timestamp lastSuccessTimestamp)
lastSuccessTimestamp - timestamppublic Timestamp getLastFailureTimestamp()
public void setLastFailureTimestamp(Timestamp lastFailureTimestamp)
lastFailureTimestamp - timestampCopyright © 2019 WSO2. All rights reserved.