Class TaskMovedEvent
java.lang.Object
com.xebialabs.xlrelease.domain.events.TaskMovedEvent
- All Implemented Interfaces:
TaskEvent,XLReleaseEvent,Serializable,scala.Equals,scala.Product
Event published when a task is moved withing a release. It can be moved within the same container
(phase or a task group), or between containers (for example, to another phase).
param: movedTask the task that has been moved. param: originIndex the original index of the task in the original container, 0-based. param: targetIndex the new index of the task in the new container, 0-based. param: originalTaskId the original task ID. It will be same if task is moved within container. param: originContainerId the original container ID of the task: a phase ID or a task group ID. param: targetContainerId the new container ID of the task.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTaskMovedEvent(Task movedTask, int originIndex, int targetIndex, String originalTaskId, String originContainerId, String targetContainerId) -
Method Summary
Modifier and TypeMethodDescriptionstatic TaskMovedEventapply(Task movedTask, int originIndex, int targetIndex, String originalTaskId, String originContainerId, String targetContainerId) booleancopy(Task movedTask, int originIndex, int targetIndex, String originalTaskId, String originContainerId, String targetContainerId) intintbooleaninthashCode()intintproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>inttoString()unapply(TaskMovedEvent x$0) username()voidusername_$eq(String x$1) Methods inherited from interface scala.Product
productElementNamesMethods inherited from interface com.xebialabs.xlrelease.domain.events.XLReleaseEvent
timeMs, timestamp
-
Constructor Details
-
TaskMovedEvent
-
-
Method Details
-
apply
public static TaskMovedEvent apply(Task movedTask, int originIndex, int targetIndex, String originalTaskId, String originContainerId, String targetContainerId) -
unapply
-
username
- Specified by:
usernamein interfaceXLReleaseEvent
-
username_$eq
- Specified by:
username_$eqin interfaceXLReleaseEvent
-
movedTask
-
originIndex
public int originIndex() -
targetIndex
public int targetIndex() -
originalTaskId
-
originContainerId
-
targetContainerId
-
copy
public TaskMovedEvent copy(Task movedTask, int originIndex, int targetIndex, String originalTaskId, String originContainerId, String targetContainerId) -
copy$default$1
-
copy$default$2
public int copy$default$2() -
copy$default$3
public int copy$default$3() -
copy$default$4
-
copy$default$5
-
copy$default$6
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-