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 BlockState
getBlock()
org.joda.time.DateTime
getCompletionDate()
java.lang.String
getDeploymentPackage()
java.lang.String
getEnvironment()
java.lang.String
getEnvironmentId()
java.lang.String
getEnvironmentIdWithoutRoot()
java.lang.Boolean
getRolledBack()
org.joda.time.DateTime
getStartDate()
java.lang.String
getStatus()
java.lang.String
getTaskId()
java.lang.String
getTaskType()
rejava.lang.String
getUser()
java.lang.String
getWorkerName()
DeploymentTaskReportLine
setBlock(BlockState block)
DeploymentTaskReportLine
setCompletionDate(org.joda.time.DateTime completionDate)
DeploymentTaskReportLine
setDeploymentPackage(java.lang.String deploymentPackage)
DeploymentTaskReportLine
setEnvironment(java.lang.String environment)
DeploymentTaskReportLine
setEnvironmentId(java.lang.String environmentId)
DeploymentTaskReportLine
setEnvironmentIdWithoutRoot(java.lang.String environmentIdWithoutRoot)
DeploymentTaskReportLine
setRolledBack(java.lang.Boolean rolledBack)
DeploymentTaskReportLine
setStartDate(org.joda.time.DateTime startDate)
DeploymentTaskReportLine
setStatus(java.lang.String status)
DeploymentTaskReportLine
setTaskId(java.lang.String taskId)
DeploymentTaskReportLine
setTaskType(java.lang.String taskType)
DeploymentTaskReportLine
setUser(java.lang.String user)
DeploymentTaskReportLine
setWorkerName(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.
-
-