com.intland.codebeamer.persistence.dto
Class BuildDto
java.lang.Object
com.intland.codebeamer.persistence.dto.base.IdentifiableDto
com.intland.codebeamer.persistence.dto.base.NamedDto
com.intland.codebeamer.persistence.dto.base.DescribeableDto
com.intland.codebeamer.persistence.dto.BuildDto
- All Implemented Interfaces:
- BaseDto, IndexableDto, ProjectAwareDto, ReferableDto, java.io.Serializable, java.lang.Cloneable, java.lang.Comparable
public class BuildDto
- extends DescribeableDto
- implements ProjectAwareDto, ReferableDto, IndexableDto
Wraps a build.
- See Also:
- Serialized Form
Field Summary |
static java.lang.String |
INTERWIKI_LINK_TYPE
|
static java.lang.String |
RUN_BUILD_NIGHTLY
"serverRun" option: running the build periodically same time as the others at night. |
static java.lang.String |
RUN_BUILD_WITH_TIMER
"serverRun" option: running the build in its own schedule, set by buildInterval. |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
INTERWIKI_LINK_TYPE
public static final java.lang.String INTERWIKI_LINK_TYPE
- See Also:
- Constant Field Values
RUN_BUILD_NIGHTLY
public static final java.lang.String RUN_BUILD_NIGHTLY
- "serverRun" option: running the build periodically same time as the others at night.
- See Also:
- Constant Field Values
RUN_BUILD_WITH_TIMER
public static final java.lang.String RUN_BUILD_WITH_TIMER
- "serverRun" option: running the build in its own schedule, set by buildInterval.
- See Also:
- Constant Field Values
BuildDto
public BuildDto()
getProject
public ProjectDto getProject()
- Specified by:
getProject
in interface ProjectAwareDto
setProject
public void setProject(ProjectDto project)
- Specified by:
setProject
in interface ProjectAwareDto
getSynchronization
public java.lang.Boolean getSynchronization()
setSynchronization
public void setSynchronization(java.lang.Boolean synchronization)
getServerRun
public java.lang.String getServerRun()
setServerRun
public void setServerRun(java.lang.String serverRun)
getStatus
public java.lang.Boolean getStatus()
setStatus
public void setStatus(java.lang.Boolean status)
getBuildFileName
public java.lang.String getBuildFileName()
setBuildFileName
public void setBuildFileName(java.lang.String buildFileName)
getLevel
public java.lang.Integer getLevel()
setLevel
public void setLevel(java.lang.Integer level)
getTargets
public java.lang.String getTargets()
setTargets
public void setTargets(java.lang.String targets)
getProperties
public java.lang.String getProperties()
setProperties
public void setProperties(java.lang.String properties)
getClassPath
public java.lang.String getClassPath()
setClassPath
public void setClassPath(java.lang.String classPath)
getRunStats
public java.lang.Boolean getRunStats()
setRunStats
public void setRunStats(java.lang.Boolean runStats)
getBuildInterval
public java.lang.Long getBuildInterval()
setBuildInterval
public void setBuildInterval(java.lang.Long buildInterval)
getBuildAfterCommit
public java.lang.Boolean getBuildAfterCommit()
setBuildAfterCommit
public void setBuildAfterCommit(java.lang.Boolean buildAfterCommit)
getDelayAfterCommit
public java.lang.Integer getDelayAfterCommit()
setDelayAfterCommit
public void setDelayAfterCommit(java.lang.Integer delayAfterCommit)
getSuccessNotificationForumId
public java.lang.Integer getSuccessNotificationForumId()
setSuccessNotificationForumId
public void setSuccessNotificationForumId(java.lang.Integer successNotificationForumId)
getFailureNotificationForumId
public java.lang.Integer getFailureNotificationForumId()
setFailureNotificationForumId
public void setFailureNotificationForumId(java.lang.Integer failureNotificationForumId)
getCreatedBy
public UserDto getCreatedBy()
setCreatedBy
public void setCreatedBy(UserDto createdByUser)
getCreatedAt
public java.util.Date getCreatedAt()
setCreatedAt
public void setCreatedAt(java.util.Date createtAt)
isIndexed
public boolean isIndexed()
- Specified by:
isIndexed
in interface IndexableDto
setIndexed
public void setIndexed(boolean indexed)
- Specified by:
setIndexed
in interface IndexableDto
getLastLog
public BuildLogDto getLastLog()
setLastLog
public void setLastLog(BuildLogDto lastLog)
getNextFireTime
public java.util.Date getNextFireTime()
setNextFireTime
public void setNextFireTime(java.util.Date nextFireTime)
isPostCommit
public boolean isPostCommit()
getShortDescription
public java.lang.String getShortDescription()
- Description copied from interface:
ReferableDto
- Returns the short description that represent this
entity in the user interface.
This normally delegates to another getter, like
ProjectDto.getName()
or
TrackerItemDto.getSummary()
.
- Specified by:
getShortDescription
in interface ReferableDto
getUrlLink
public java.lang.String getUrlLink()
- Description copied from interface:
ReferableDto
- Returns the local URL that points to the web page
where this DTO is managed.
- Specified by:
getUrlLink
in interface ReferableDto
getInterwikiLink
public java.lang.String getInterwikiLink()
- Description copied from interface:
ReferableDto
- Returns the interwiki link that points to the web page
where this DTO is managed.
- Specified by:
getInterwikiLink
in interface ReferableDto
getIconUrl
public java.lang.String getIconUrl()
- Description copied from interface:
ReferableDto
- Returns the URL of the (small) icon image that represents
this DTO type.
- Specified by:
getIconUrl
in interface ReferableDto
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class NamedDto
compareTo
public int compareTo(java.lang.Object obj)
- Description copied from class:
NamedDto
- Caution: NamedDto compareTo violates the rule that
a.equals(b)
is equivalent to a.compareTo(b) == 0
, because only the names are compared
- Specified by:
compareTo
in interface java.lang.Comparable
- Overrides:
compareTo
in class NamedDto
Copyright © 2006-2009 Intland Software. All rights reserved.