CodeBeamer 5.4.0.1-RC API

com.intland.codebeamer.persistence.dto
Class BuildDto

java.lang.Object
  extended by com.intland.codebeamer.persistence.dto.base.IdentifiableDto
      extended by com.intland.codebeamer.persistence.dto.base.NamedDto
          extended by com.intland.codebeamer.persistence.dto.base.DescribeableDto
              extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.DescribeableDto
DescribeableDto.DescriptionComparator
 
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto
NamedDto.NameComparator
 
Nested classes/interfaces inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto
IdentifiableDto.IdComparator
 
Nested classes/interfaces inherited from interface com.intland.codebeamer.persistence.dto.base.ReferableDto
ReferableDto.DescriptionComparator
 
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.
 
Fields inherited from interface com.intland.codebeamer.persistence.dto.base.ReferableDto
HEAD_VERSION, SECTION_DELIMITER, VERSION_DELIMITER
 
Constructor Summary
BuildDto()
           
 
Method Summary
 int compareTo(java.lang.Object obj)
          Caution: NamedDto compareTo violates the rule that a.equals(b) is equivalent to a.compareTo(b) == 0, because only the names are compared
 boolean equals(java.lang.Object obj)
           
 java.lang.Boolean getBuildAfterCommit()
           
 java.lang.String getBuildFileName()
           
 java.lang.Long getBuildInterval()
           
 java.lang.String getClassPath()
           
 java.util.Date getCreatedAt()
           
 UserDto getCreatedBy()
           
 java.lang.Integer getDelayAfterCommit()
           
 java.lang.Integer getFailureNotificationForumId()
           
 java.lang.String getIconUrl()
          Returns the URL of the (small) icon image that represents this DTO type.
 java.lang.String getInterwikiLink()
          Returns the interwiki link that points to the web page where this DTO is managed.
 BuildLogDto getLastLog()
           
 java.lang.Integer getLevel()
           
 java.util.Date getNextFireTime()
           
 ProjectDto getProject()
           
 java.lang.String getProperties()
           
 java.lang.Boolean getRunStats()
           
 java.lang.String getServerRun()
           
 java.lang.String getShortDescription()
          Returns the short description that represent this entity in the user interface.
 java.lang.Boolean getStatus()
           
 java.lang.Integer getSuccessNotificationForumId()
           
 java.lang.Boolean getSynchronization()
           
 java.lang.String getTargets()
           
 java.lang.String getUrlLink()
          Returns the local URL that points to the web page where this DTO is managed.
 boolean isIndexed()
           
 boolean isPostCommit()
           
 void setBuildAfterCommit(java.lang.Boolean buildAfterCommit)
           
 void setBuildFileName(java.lang.String buildFileName)
           
 void setBuildInterval(java.lang.Long buildInterval)
           
 void setClassPath(java.lang.String classPath)
           
 void setCreatedAt(java.util.Date createtAt)
           
 void setCreatedBy(UserDto createdByUser)
           
 void setDelayAfterCommit(java.lang.Integer delayAfterCommit)
           
 void setFailureNotificationForumId(java.lang.Integer failureNotificationForumId)
           
 void setIndexed(boolean indexed)
           
 void setLastLog(BuildLogDto lastLog)
           
 void setLevel(java.lang.Integer level)
           
 void setNextFireTime(java.util.Date nextFireTime)
           
 void setProject(ProjectDto project)
           
 void setProperties(java.lang.String properties)
           
 void setRunStats(java.lang.Boolean runStats)
           
 void setServerRun(java.lang.String serverRun)
           
 void setStatus(java.lang.Boolean status)
           
 void setSuccessNotificationForumId(java.lang.Integer successNotificationForumId)
           
 void setSynchronization(java.lang.Boolean synchronization)
           
 void setTargets(java.lang.String targets)
           
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.DescribeableDto
compareByDescription, getDescription, getDescriptionFormat, setDescription, setDescriptionFormat
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.NamedDto
compareNames, compareString, compareStringIgnoreCase, createLookupMap, getName, hashCode, setName, toString
 
Methods inherited from class com.intland.codebeamer.persistence.dto.base.IdentifiableDto
clone, compare, compareInteger, equals, getId, hashCode, setId
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

BuildDto

public BuildDto()
Method Detail

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

CodeBeamer 5.4.0.1-RC API

Copyright © 2006-2009 Intland Software. All rights reserved.