Class ControlTaskReportLine
- java.lang.Object
-
- com.xebialabs.deployit.engine.api.dto.ControlTaskReportLine
-
public class ControlTaskReportLine extends java.lang.Object
Contains information about Control Task report record: task ID, start and finish date and time, state, task owner, task name, target CI, task description and task blocks
-
-
Constructor Summary
Constructors Constructor Description ControlTaskReportLine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockState
getBlock()
java.lang.String
getControlTaskTargetCI()
java.lang.String
getDescription()
org.joda.time.DateTime
getFinished()
java.lang.String
getOwner()
org.joda.time.DateTime
getStarted()
java.lang.String
getState()
java.lang.String
getTaskId()
java.lang.String
getTaskName()
java.lang.String
getWorkerName()
ControlTaskReportLine
setBlock(BlockState block)
ControlTaskReportLine
setControlTaskTargetCI(java.lang.String controlTaskTargetCI)
ControlTaskReportLine
setDescription(java.lang.String description)
ControlTaskReportLine
setFinished(org.joda.time.DateTime finished)
ControlTaskReportLine
setOwner(java.lang.String owner)
ControlTaskReportLine
setStarted(org.joda.time.DateTime started)
ControlTaskReportLine
setState(java.lang.String state)
ControlTaskReportLine
setTaskId(java.lang.String taskId)
ControlTaskReportLine
setTaskName(java.lang.String taskName)
ControlTaskReportLine
setWorkerName(java.lang.String workerName)
-
-
-
Method Detail
-
getTaskId
public java.lang.String getTaskId()
- Returns:
- The Taks ID.
-
setTaskId
public ControlTaskReportLine setTaskId(java.lang.String taskId)
- Parameters:
taskId
- The Taks ID.- Returns:
- The this object.
-
getStarted
public org.joda.time.DateTime getStarted()
- Returns:
- The Start Date of Task.
-
setStarted
public ControlTaskReportLine setStarted(org.joda.time.DateTime started)
- Parameters:
started
- The Start Date of Task.- Returns:
- The this object.
-
getFinished
public org.joda.time.DateTime getFinished()
- Returns:
- The Completion Date of Task.
-
setFinished
public ControlTaskReportLine setFinished(org.joda.time.DateTime finished)
- Parameters:
finished
- The Completion Date of Task.- Returns:
- The this object.
-
getState
public java.lang.String getState()
- Returns:
- The State of Task.
-
setState
public ControlTaskReportLine setState(java.lang.String state)
- Parameters:
state
- The State of Task.- Returns:
- The this object.
-
getOwner
public java.lang.String getOwner()
- Returns:
- The owner user associated with the Task.
-
setOwner
public ControlTaskReportLine setOwner(java.lang.String owner)
- Parameters:
owner
- The owner user associated with the Task.- Returns:
- The this object.
-
getTaskName
public java.lang.String getTaskName()
- Returns:
- The name of run Control Task.
-
setTaskName
public ControlTaskReportLine setTaskName(java.lang.String taskName)
- Parameters:
taskName
- TThe name of run Control Task.- Returns:
- The this object.
-
getControlTaskTargetCI
public java.lang.String getControlTaskTargetCI()
- Returns:
- The Target CI path associated with the Task.
-
setControlTaskTargetCI
public ControlTaskReportLine setControlTaskTargetCI(java.lang.String controlTaskTargetCI)
- Parameters:
controlTaskTargetCI
- The Target CI path associated with the Task.- Returns:
- The this object.
-
getDescription
public java.lang.String getDescription()
- Returns:
- The Task description.
-
setDescription
public ControlTaskReportLine setDescription(java.lang.String description)
- Parameters:
description
- The Task description.- 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 ControlTaskReportLine 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 ControlTaskReportLine setWorkerName(java.lang.String workerName)
- Parameters:
workerName
- The name of worker that executes this task.- Returns:
- The this object.
-
-