Class DeploymentTaskReportLine
- java.lang.Object
-
- com.xebialabs.deployit.engine.api.dto.DeploymentTaskReportLine
-
public class DeploymentTaskReportLine extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DeploymentTaskReportLine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockStategetBlock()org.joda.time.DateTimegetCompletionDate()java.lang.StringgetDeploymentPackage()java.lang.StringgetEnvironment()java.lang.StringgetEnvironmentId()java.lang.StringgetEnvironmentIdWithoutRoot()java.lang.BooleangetRolledBack()org.joda.time.DateTimegetStartDate()java.lang.StringgetStatus()java.lang.StringgetTaskId()java.lang.StringgetTaskType()rejava.lang.StringgetUser()java.lang.StringgetWorkerName()DeploymentTaskReportLinesetBlock(BlockState block)DeploymentTaskReportLinesetCompletionDate(org.joda.time.DateTime completionDate)DeploymentTaskReportLinesetDeploymentPackage(java.lang.String deploymentPackage)DeploymentTaskReportLinesetEnvironment(java.lang.String environment)DeploymentTaskReportLinesetEnvironmentId(java.lang.String environmentId)DeploymentTaskReportLinesetEnvironmentIdWithoutRoot(java.lang.String environmentIdWithoutRoot)DeploymentTaskReportLinesetRolledBack(java.lang.Boolean rolledBack)DeploymentTaskReportLinesetStartDate(org.joda.time.DateTime startDate)DeploymentTaskReportLinesetStatus(java.lang.String status)DeploymentTaskReportLinesetTaskId(java.lang.String taskId)DeploymentTaskReportLinesetTaskType(java.lang.String taskType)DeploymentTaskReportLinesetUser(java.lang.String user)DeploymentTaskReportLinesetWorkerName(java.lang.String workerName)
-
-
-
Method Detail
-
getTaskId
public java.lang.String getTaskId()
- Returns:
- The Taks ID.
-
setTaskId
public DeploymentTaskReportLine setTaskId(java.lang.String taskId)
- Parameters:
taskId- The Taks ID.- Returns:
- The this object.
-
getStartDate
public org.joda.time.DateTime getStartDate()
- Returns:
- The Start Date of Task.
-
setStartDate
public DeploymentTaskReportLine setStartDate(org.joda.time.DateTime startDate)
- Parameters:
startDate- The Start Date of Task.- Returns:
- The this object.
-
getCompletionDate
public org.joda.time.DateTime getCompletionDate()
- Returns:
- The Completion Date of Task.
-
setCompletionDate
public DeploymentTaskReportLine setCompletionDate(org.joda.time.DateTime completionDate)
- Parameters:
completionDate- The Completion Date of Task.- Returns:
- The this object.
-
getStatus
public java.lang.String getStatus()
- Returns:
- The Status of Task.
-
setStatus
public DeploymentTaskReportLine setStatus(java.lang.String status)
- Parameters:
status- The Status of Task.- Returns:
- The this object.
-
getTaskType
public java.lang.String getTaskType()
re- Returns:
- The Task Type.
-
setTaskType
public DeploymentTaskReportLine setTaskType(java.lang.String taskType)
- Parameters:
taskType- The Task Type.- Returns:
- The this object.
-
getUser
public java.lang.String getUser()
- Returns:
- The user associated with the Task.
-
setUser
public DeploymentTaskReportLine setUser(java.lang.String user)
- Parameters:
user- The user associated with the Task.- Returns:
- The this object.
-
getEnvironment
public java.lang.String getEnvironment()
- Returns:
- The Environment CI path associated with the Task.
-
setEnvironment
public DeploymentTaskReportLine setEnvironment(java.lang.String environment)
- Parameters:
environment- The Environment CI path associated with the Task.- Returns:
- The this object.
-
getEnvironmentId
public java.lang.String getEnvironmentId()
- Returns:
- The Environment CI ID associated with the Task.
-
setEnvironmentId
public DeploymentTaskReportLine setEnvironmentId(java.lang.String environmentId)
- Parameters:
environmentId- The Environment CI ID associated with the Task.- Returns:
- The this object.
-
getEnvironmentIdWithoutRoot
public java.lang.String getEnvironmentIdWithoutRoot()
- Returns:
- The Environment CI name associated with the Task.
-
setEnvironmentIdWithoutRoot
public DeploymentTaskReportLine setEnvironmentIdWithoutRoot(java.lang.String environmentIdWithoutRoot)
- Parameters:
environmentIdWithoutRoot- The Environment CI name associated with the Task.- Returns:
- The this object.
-
getDeploymentPackage
public java.lang.String getDeploymentPackage()
- Returns:
- The Deployment Package associated with the Task.
-
setDeploymentPackage
public DeploymentTaskReportLine setDeploymentPackage(java.lang.String deploymentPackage)
- Parameters:
deploymentPackage- The Deployment Package associated with the Task.- Returns:
- The this object.
-
getRolledBack
public java.lang.Boolean getRolledBack()
- Returns:
- The flag marking if this Task is Rollback of an original task (rollback task shares same Task ID as original task).
-
setRolledBack
public DeploymentTaskReportLine setRolledBack(java.lang.Boolean rolledBack)
- Parameters:
rolledBack- The flag marking if this Task is Rollback of an original task.- Returns:
- The this object.
-
getBlock
public BlockState getBlock()
- Returns:
- If FULL FetchMode was toggled block field will contain details of task execution blocks.
-
setBlock
public DeploymentTaskReportLine setBlock(BlockState block)
- Parameters:
block- The Task execution blocks.- Returns:
- The this object.
-
getWorkerName
public java.lang.String getWorkerName()
- Returns:
- The name of worker that executes this task.
-
setWorkerName
public DeploymentTaskReportLine setWorkerName(java.lang.String workerName)
- Parameters:
workerName- The name of worker that executes this task.- Returns:
- The this object.
-
-