Package com.xebialabs.xlrelease.domain
Class PlanItem
java.lang.Object
com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
com.xebialabs.xlrelease.domain.PlanItem
- All Implemented Interfaces:
com.xebialabs.deployit.plugin.api.udm.ConfigurationItem,VisitableItem,Serializable,Comparable<com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem>
public abstract class PlanItem
extends com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
implements VisitableItem
- See Also:
-
Field Summary
FieldsFields inherited from interface com.xebialabs.deployit.plugin.api.udm.ConfigurationItem
SYNTHETIC_PROPERTIES_FIELD, TYPE_FIELD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckDatesValidity(Date scheduledStartDate, Date dueDate, Integer plannedDuration) org.joda.time.Durationorg.joda.time.Durationabstract StringgetOwner()abstract Releaseabstract IntegergetTitle()abstract List<UsagePoint>abstract booleanbooleanbooleanbooleanbooleanhasOwner()booleanbooleanbooleanbooleanbooleanbooleanhasTitle()booleanbooleanabstract booleanabstract booleanisActive()abstract booleanisDone()booleanbooleanbooleanbooleanisTitleContaining(String candidateTitle) abstract booleanmoveChildren(int offsetInSeconds) setDates(int offsetInSeconds) voidsetDescription(String value) voidsetDueDate(Date value) voidsetEndDate(Date value) voidsetFlagComment(String flagComment) voidsetFlagStatus(FlagStatus flagStatus) voidsetOverdueNotified(boolean overdueNotified) voidvoidsetPlannedDuration(Integer plannedDuration) abstract voidsetReleaseUid(Integer releaseUid) voidsetScheduledStartDate(Date scheduledStartDate) voidvoidsetStartDate(Date value) voidbooleanvoidupdateDates(Date scheduledStartDate, Date dueDate, Integer plannedDuration) voidupdateDuration(Integer plannedDuration) Updates a Duration and Due Date.Methods inherited from class com.xebialabs.deployit.plugin.api.udm.base.BaseConfigurationItem
compareTo, equals, get$ciAttributes, get$directoryReference, get$externalProperties, get$internalId, get$referenceId, get$securedCi, get$securedDirectoryReference, get$token, get$validationMessages, getId, getName, getProperty, getType, hashCode, hasProperty, set$ciAttributes, set$directoryReference, set$externalProperties, set$internalId, set$referenceId, set$securedCi, set$securedDirectoryReference, set$token, set$validationMessages, setId, setProperty, setType, toStringMethods inherited from interface com.xebialabs.xlrelease.domain.VisitableItem
accept
-
Field Details
-
BY_TITLE
-
-
Constructor Details
-
PlanItem
public PlanItem()
-
-
Method Details
-
getTitle
-
setTitle
-
getDescription
-
setDescription
-
getOwner
-
setOwner
-
hasOwner
public boolean hasOwner() -
hasOwner
-
getDueDate
-
setDueDate
-
getStartDate
-
setStartDate
-
getScheduledStartDate
-
setScheduledStartDate
-
getEndDate
-
setEndDate
-
getPlannedDuration
-
setPlannedDuration
-
hasPlannedDuration
public boolean hasPlannedDuration() -
getFlagStatus
-
setFlagStatus
-
getFlagComment
-
setFlagComment
-
isFlagged
public boolean isFlagged() -
checkDatesValidity
-
updateDates
-
updateDuration
Updates a Duration and Due Date.- Parameters:
plannedDuration- time supposed to complete item, in seconds.
-
moveChildren
-
hasStartOrScheduledDate
public boolean hasStartOrScheduledDate() -
getStartOrScheduledDate
-
hasEndOrDueDate
public boolean hasEndOrDueDate() -
getEndOrDueDate
-
hasScheduledStartDate
public boolean hasScheduledStartDate() -
hasStartDate
public boolean hasStartDate() -
hasDueDate
public boolean hasDueDate() -
hasEndDate
public boolean hasEndDate() -
setDates
-
hasTitle
public boolean hasTitle() -
hasTitle
-
isTitleContaining
-
hasValidStartDates
public boolean hasValidStartDates() -
getChildren
-
setStartAndEndDatesIfEmpty
public void setStartAndEndDatesIfEmpty() -
isOverdue
public boolean isOverdue() -
setOverdueNotified
public void setOverdueNotified(boolean overdueNotified) -
isOverdueNotified
public boolean isOverdueNotified() -
shouldNotifyOverdue
public boolean shouldNotifyOverdue() -
hasBeenStarted
public abstract boolean hasBeenStarted() -
isDone
public abstract boolean isDone() -
getRelease
-
getReleaseUid
-
setReleaseUid
-
isUpdatable
public abstract boolean isUpdatable() -
getDisplayPath
-
isAborted
public abstract boolean isAborted() -
isActive
public abstract boolean isActive() -
getVariableUsages
-
getOrCalculateDueDate
-
getComputedPlannedDuration
public org.joda.time.Duration getComputedPlannedDuration() -
getActualDuration
public org.joda.time.Duration getActualDuration()
-