|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.pmease.quickbuild.model.Persistent
com.pmease.quickbuild.model.Build
Build is generated through running of a build configuration. The purpose of QuickBuild is to define different build configurations and generate desired builds.
Field Summary | |
static java.lang.String |
ARTIFACTS_DIR
|
static java.lang.String |
BUILD_LOG
|
static java.lang.String |
CHANGES_DIR
|
static java.lang.String |
CHECKIN_USERS_SUFFIX
|
static java.lang.String |
CLOVER_HTML_REPORT_DIR
|
static java.lang.String |
JUNIT_HTML_REPORT_DIR
|
static java.lang.String |
REVISION_LOG
|
static java.lang.String |
REVISIONS_SUFFIX
|
Constructor Summary | |
Build()
|
Method Summary | |
void |
detachLogs()
|
java.lang.String |
getArtifactsDir()
OGNL: Get artifacts directory where hold artifacts for this build |
java.lang.String |
getArtifactsDirUrl()
OGNL: Get artifacts directory web url for this build. |
java.lang.String |
getBuildLogPath()
OGNL: Get build log path of this build |
java.lang.String |
getBuildLogUrl()
OGNL: Get build log url of this build |
java.lang.String |
getChangesDir()
OGNL: Get change log directory path |
java.lang.String |
getCloverHtmlReportDir()
OGNL: Get the directory where to hold Clover html report stuffs |
java.lang.String |
getCloverHtmlReportUrl()
OGNL: Get clover html report url. |
Configuration |
getConfiguration()
OGNL: Get build configuration which this build belongs to.. |
java.lang.String |
getCostTime()
OGNL: Get build cost time in seconds. |
java.util.Set |
getDependentGuidRelations()
|
java.util.Date |
getEndDate()
OGNL: Get the date when this build is finished |
java.lang.String |
getFormattedEndDate()
OGNL: Get formatted end date. |
java.lang.String |
getFormattedStartDate()
OGNL: Get formatted start date. |
java.lang.String |
getJunitHtmlReportDir()
OGNL: Get the directory where to hold Junit html report stuffs |
java.lang.String |
getJunitHtmlReportUrl()
OGNL: Get junit html report url. |
java.lang.String |
getLabel()
OGNL: Get label for this build. |
java.util.Set |
getLabelRelations()
|
java.lang.String |
getPublishDir()
OGNL: Get the publish directory for current build. |
java.lang.String |
getPublishDirUrl()
OGNL: Get publish directory web url for this build. |
java.lang.String |
getRevisionLogPath()
OGNL: Get revision log path of this build |
java.lang.String |
getRevisionLogUrl()
OGNL: Get revision log url of this build |
org.apache.log4j.Logger |
getRuntimeLogger()
|
java.util.Date |
getStartDate()
OGNL: Get the date when this build is started |
BuildStatusEnum |
getStatus()
OGNL: Get status of this build |
java.lang.String |
getUrl()
OGNL: Get url of this build |
java.lang.String |
getVersion()
OGNL: Get version of this build configuration. |
boolean |
isFailed()
OGNL: Whether or not this build is failed. |
boolean |
isRevisionMerged()
|
boolean |
isRunning()
OGNL: Wheter or not this build is running |
boolean |
isSelected()
|
boolean |
isSuccessful()
OGNL: Whether or not this build is successful. |
void |
mergeRevisions()
|
java.lang.String |
resolveAbsolutePath(java.lang.String filePath)
Resolves the absolute path for specified file path. |
void |
setConfiguration(Configuration configuration)
|
void |
setDependentGuidRelations(java.util.Set dependentGuidRelations)
|
void |
setEndDate(java.util.Date endDate)
|
void |
setLabel(java.lang.String label)
|
void |
setLabelRelations(java.util.Set labelRelations)
|
void |
setRevisionMerged(boolean revisionMerged)
|
void |
setSelected(boolean selected)
|
void |
setStartDate(java.util.Date startDate)
|
void |
setStatus(BuildStatusEnum status)
|
void |
setVersion(java.lang.String version)
|
Methods inherited from class com.pmease.quickbuild.model.Persistent |
equals, getEntityVersion, getId, hashCode, setEntityVersion, setId |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String ARTIFACTS_DIR
public static final java.lang.String JUNIT_HTML_REPORT_DIR
public static final java.lang.String CLOVER_HTML_REPORT_DIR
public static final java.lang.String CHANGES_DIR
public static final java.lang.String REVISIONS_SUFFIX
public static final java.lang.String CHECKIN_USERS_SUFFIX
public static final java.lang.String BUILD_LOG
public static final java.lang.String REVISION_LOG
Constructor Detail |
public Build()
Method Detail |
public java.lang.String getVersion()
public void setVersion(java.lang.String version)
public Configuration getConfiguration()
public void setConfiguration(Configuration configuration)
public BuildStatusEnum getStatus()
public void setStatus(BuildStatusEnum status)
public java.util.Date getStartDate()
public void setStartDate(java.util.Date startDate)
public java.util.Date getEndDate()
public void setEndDate(java.util.Date endDate)
public org.apache.log4j.Logger getRuntimeLogger()
public java.lang.String getBuildLogPath()
public java.lang.String getRevisionLogPath()
public void detachLogs()
public java.lang.String getLabel()
public void setLabel(java.lang.String label)
public java.lang.String getPublishDir()
public java.lang.String getArtifactsDir()
public java.lang.String getChangesDir()
public java.lang.String getJunitHtmlReportDir()
public java.lang.String getCloverHtmlReportDir()
public java.lang.String resolveAbsolutePath(java.lang.String filePath)
filePath
-
public boolean isRevisionMerged()
public void setRevisionMerged(boolean revisionMerged)
public void mergeRevisions()
public boolean isSelected()
public void setSelected(boolean selected)
public java.lang.String getUrl()
public java.lang.String getBuildLogUrl()
public java.lang.String getRevisionLogUrl()
public boolean isSuccessful()
public boolean isFailed()
public boolean isRunning()
public java.lang.String getJunitHtmlReportUrl()
public java.lang.String getCloverHtmlReportUrl()
public java.lang.String getPublishDirUrl()
public java.lang.String getArtifactsDirUrl()
public java.lang.String getFormattedStartDate()
public java.lang.String getFormattedEndDate()
public java.lang.String getCostTime()
public java.util.Set getLabelRelations()
public void setLabelRelations(java.util.Set labelRelations)
public java.util.Set getDependentGuidRelations()
public void setDependentGuidRelations(java.util.Set dependentGuidRelations)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |