public class ProductStatus extends Object implements Comparable<ProductStatus>
| Constructor and Description |
|---|
ProductStatus(String productId,
String productName,
String productStatus) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ProductStatus productStatus) |
boolean |
equals(Object o) |
String |
getConfigLink()
Returns the Configuration link for the product jobs in Jenkins
|
String |
getExecuteLink()
Returns the executable link for the product that contains all the jobs.
|
Timestamp |
getLastFailureTimestamp()
Returns the last failure timestamp of the product build.
|
Timestamp |
getLastSuccessTimestamp()
Returns the last success timestamp of the product build.
|
String |
getProductId()
Returns the productId of the product.
|
String |
getProductName()
Returns the productName of product.
|
String |
getProductStatus()
Returns the productStatus of product.
|
String |
getReportLink()
Returns the Reportlink for the product.
|
int |
hashCode() |
void |
setConfigLink(String configLink)
Set the Jenkins configuration link for the product.
|
void |
setExecuteLink(String executeLink)
Set the executable link for the product.
|
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 |
setProductId(String productId)
Sets the productId of the product.
|
void |
setProductName(String productName)
Sets the productName of product.
|
void |
setProductStatus(String productStatus)
Sets the productStatus of the product.
|
void |
setReportLink(String reportLink)
Sets the report link for a product.
|
public String getProductId()
public void setProductId(String productId)
productId - product-productIdpublic String getProductName()
public void setProductName(String productName)
productName - productName to set to productpublic String getReportLink()
public void setReportLink(String reportLink)
reportLink - report link to setpublic String getProductStatus()
public void setProductStatus(String productStatus)
productStatus - the productStatus of productpublic String getExecuteLink()
public void setExecuteLink(String executeLink)
executeLink - URL for the job execution of productpublic String getConfigLink()
public void setConfigLink(String configLink)
configLink - URL for configuration consolepublic Timestamp getLastSuccessTimestamp()
public void setLastSuccessTimestamp(Timestamp lastSuccessTimestamp)
lastSuccessTimestamp - timestamppublic Timestamp getLastFailureTimestamp()
public void setLastFailureTimestamp(Timestamp lastFailureTimestamp)
lastFailureTimestamp - timestamppublic int compareTo(ProductStatus productStatus)
compareTo in interface Comparable<ProductStatus>Copyright © 2019 WSO2. All rights reserved.