com.atlassian.bamboo.plugins.rest.model.build
Class BaseBuild

java.lang.Object
  extended by com.atlassian.bamboo.plugins.rest.model.build.AbstractRestBuild
      extended by com.atlassian.bamboo.plugins.rest.model.build.BaseBuild
Direct Known Subclasses:
Build, Result

public class BaseBuild
extends AbstractRestBuild


Field Summary
protected  RestBuildArtifactList artifacts
           
protected  javax.ws.rs.core.UriBuilder baseUriBuilder
           
protected  RestCommentList comments
           
protected  java.lang.String expand
           
protected  java.lang.String jiraHostUrl
           
protected  RestJiraIssueList jiraIssues
           
protected  RestBuildLabelList labels
           
 
Fields inherited from class com.atlassian.bamboo.plugins.rest.model.build.AbstractRestBuild
buildCompletedTime, buildDuration, buildDurationDescription, buildDurationInSeconds, buildNumber, buildReason, buildRelativeTime, buildResultKey, buildStartedTime, buildState, buildSummary, buildTestSummary, chainLink, failedTestCount, hasExecutableAgents, id, KEY, LIFE_CYCLE_STATE, lifeCycleState, link, NUMBER, prettyQueueDuration, prettyVcsUpdateDuration, queueDuration, queueStartedTime, queueTimeInSeconds, stage, stageResult, STATE, successfulTestCount, vcsRevisionKey, vcsUpdateDuration, vcsUpdateInSeconds, vcsUpdateStartedTime
 
Constructor Summary
BaseBuild()
           
BaseBuild(ResultsSummary buildSummary, java.lang.String jiraHostUrl, javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.UriBuilder baseUriBuilder)
           
 
Method Summary
 void expand()
           
 java.lang.String getBuildKey()
           
 java.lang.String getBuildResultKey()
           
 
Methods inherited from class com.atlassian.bamboo.plugins.rest.model.build.AbstractRestBuild
getArtifacts, getBuildNumber, getBuildState, getChanges, getComments, getJiraIssueManager, getJiraIssues, getLabels, getLink, setStageResult
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

expand

protected java.lang.String expand

artifacts

@Expandable
protected RestBuildArtifactList artifacts

comments

@Expandable
protected RestCommentList comments

labels

@Expandable
protected RestBuildLabelList labels

jiraIssues

@Expandable
protected RestJiraIssueList jiraIssues

jiraHostUrl

protected java.lang.String jiraHostUrl

baseUriBuilder

protected javax.ws.rs.core.UriBuilder baseUriBuilder
Constructor Detail

BaseBuild

public BaseBuild()

BaseBuild

public BaseBuild(ResultsSummary buildSummary,
                 java.lang.String jiraHostUrl,
                 javax.ws.rs.core.UriInfo uriInfo,
                 javax.ws.rs.core.UriBuilder baseUriBuilder)
Method Detail

expand

public void expand()
Overrides:
expand in class AbstractRestBuild

getBuildKey

public java.lang.String getBuildKey()
Overrides:
getBuildKey in class AbstractRestBuild

getBuildResultKey

public java.lang.String getBuildResultKey()
Overrides:
getBuildResultKey in class AbstractRestBuild


Copyright © 2010 Atlassian. All Rights Reserved.