com.atlassian.bamboo.resultsummary
Class AbstractResultsSummary

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.resultsummary.BaseResultSummary
              extended by com.atlassian.bamboo.resultsummary.AbstractResultsSummary
All Implemented Interfaces:
BambooCustomDataAware, BambooIdProvider, BambooObject, Deletable, ImmutableDeletable, PlanResultKeyProvider, ImmutableResultsSummary, MutableBuildKeyResultsSummary, ResultsSummary, ResultStatisticsProvider, Cloneable, Comparable<ImmutableResultsSummary>
Direct Known Subclasses:
BuildResultsSummaryDocument, BuildResultsSummaryImpl, ChainResultsSummaryImpl

public abstract class AbstractResultsSummary
extends BaseResultSummary
implements Deletable, MutableBuildKeyResultsSummary


Field Summary
protected  BuildState buildState
           
protected static com.google.common.base.Supplier<CachedPlanManager> cachedPlanManagerRef
           
protected  LifeCycleState lifeCycleState
           
protected  boolean markedForDeletion
           
protected static com.google.common.base.Supplier<PlanManager> planManagerRef
           
 
Fields inherited from class com.atlassian.bamboo.resultsummary.BaseResultSummary
DATE_FORMAT
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Fields inherited from interface com.atlassian.bamboo.resultsummary.ImmutableResultsSummary
CUSTOM_DATA_BUILD_KEY
 
Fields inherited from interface com.atlassian.bamboo.plan.PlanResultKeyProvider
getPlanKey
 
Constructor Summary
AbstractResultsSummary()
           
 
Method Summary
 List<ArtifactLink> getArtifactLinks()
          Returns all artifacts associated with this build.
 Long getBuildAgentId()
          The id of the latest agent that built the result
 Date getBuildCancelledDate()
          When the build was cancelled
 Date getBuildCompletedDate()
          When the build finished
 Date getBuildDate()
          Date when build was passed to execution.
 String getBuildKey()
           
 int getBuildNumber()
          Get build number
 String getBuildResultKey()
           
 BuildState getBuildState()
          Build state.
 String getChangesListSummary()
           
 List<Comment> getComments()
          Deprecated. since 5.0
 Map<String,String> getCustomBuildData()
          Custom data map to store random metadata about the build
 List<CustomDataRow> getCustomBuildDataRows()
          This method is not intended to be used outside BuildResultsSummaryHibernateDao
 DeltaState getDeltaState()
          Gets the DeltaState of the summary.
 String getDiscriminator()
           
 long getDuration()
          Duration of the build in milliseconds
 int getFormatVersion()
           
 ImmutablePlan getImmutablePlan()
          Gets the Plan that this result belongs directly belongs to
 Set<LinkedJiraIssue> getJiraIssues()
          Returns all the JIRA issues linked to this build result
 List<Labelling> getLabellings()
          Tags / labels assocaited with the build
 LifeCycleState getLifeCycleState()
           
 Long getLogSize()
          Returns the size of log associated with this result.
 Plan getPlan()
          Gets the Plan that this result belongs directly belongs to
 PlanKey getPlanKey()
          Full key of the plan.
 long getProcessingDuration()
          Duration of actual build processing in miliseconds
 Date getQueueTime()
          Date when build was queued.
 String getReasonSummary()
           
 List<RepositoryChangeset> getRepositoryChangesets()
           
 int getRestartCount()
          Return the number of build restart attempts
 Iterable<VariableContextSnapshot> getResultVariables()
           
 Long getStageResultId()
           
 List<ConsumedSubscription> getSubscriptions()
          Returns list of consumed artifact dependencies ConsumedSubscription
 List<VariableSubstitution> getSubstitutedVariables()
          Returns list of variables substituted during build execution
 List<TestClassResult> getTestClassResults()
           
 TestResultsSummary getTestResultsSummary()
           
 Long getTimeToFix()
          A stored version of how long (milli seconds) it took for this build to fix a failure.
protected  TriggerManager getTriggerManager()
           
 TriggerReason getTriggerReason()
          Why the build was was triggered
 String getTriggerReasonKey()
           
 com.google.common.collect.ImmutableList<VariableBaselineItem> getVariableContext()
           
 VariableContextBaseline getVariableContextBaseline()
           
 List<VariableContextSnapshot> getVariableContextLogs()
           
 int incrementRestartCount()
          Increments number of build restarts and returns the new value
 boolean isCustomBuild()
          Indicates that this result was run with custom variables (some of the variables were overwritten) - used to display indicator in UI
 boolean isOnceOff()
          Indicates that this result was run with custom revision and should be considered as 'once-off' when calculating telemetry and other stuff
 boolean isRebuild()
          Indicates that this result was rebuild via "re-run this build" action.
 void resetTestClassResults(List<TestClassResult> testClassResults)
          Overrides all current testClassResults with the new ones
 void setArtifactLinks(List<ArtifactLink> artifactLinks)
           
 void setBuildAgentId(long buildAgentId)
           
 void setBuildCancelledDate(Date buildCancelledDate)
           
 void setBuildCompletedDate(Date buildCompletedDate)
           
 void setBuildDate(Date buildDate)
           
 void setBuildKey(String buildKey)
           
 void setBuildNumber(int buildNumber)
           
 void setBuildState(BuildState buildState)
           
 void setComments(List<Comment> comments)
           
 void setCustomBuild(boolean customBuild)
           
 void setCustomBuildData(Map<String,String> customBuildData)
           
 void setDeltaState(DeltaState deltaState)
          Sets the DeltaState for the summary.
 void setDiscriminator(String discriminator)
           
 void setDuration(long duration)
           
 void setFormatVersion(int formatVersion)
           
 void setJiraIssues(Set jiraIssues)
           
 void setLabellings(List<Labelling> labellings)
           
 void setLifeCycleState(LifeCycleState lifeCycleState)
           
 void setLogSize(Long logSize)
          Sets the size of the log file associated with this result, eg.
 void setOnceOff(boolean onceOff)
           
 void setPlanKey(PlanKey planKey)
           
 void setProcessingDuration(long processingDuration)
           
 void setQueueTime(Date queueTime)
           
 void setRebuild(boolean rebuild)
           
 void setRestartCount(int restartCount)
           
 void setStageResultId(Long stageResultId)
           
 void setSubscriptions(List<ConsumedSubscription> subscriptions)
           
 void setSubstitutedVariables(List<VariableSubstitution> substitutedVariables)
           
 void setTestResultsSummary(TestResultsSummary testResultsSummary)
          Set the test summary information from this build
 void setTimeToFix(Long timeToFix)
          A stored version of how long (milli seconds) it took for this build to fix a failure.
 void setTriggerReason(TriggerReason triggerReason)
           
 void setTriggerReasonKey(String triggerReasonKey)
           
 void setVariableContextBaseline(VariableContextBaseline variableContextBaseline)
          Internal use only.
 void setVariableContextLogs(List<VariableContextSnapshot> variableContextLogs)
           
 void updateCustomDataEntry(String key, String value)
          Add or modify key value pair to Object's custom data map.
 void updateFormatVersion()
          Sets format version to current Bamboo build number.
 void updateLifeCycleState(LifeCycleState lifeCycleState, BuildState buildState)
          Update lifeCycleState and buildState in one go.
 
Methods inherited from class com.atlassian.bamboo.resultsummary.BaseResultSummary
compareTo, createChangeListSummary, equals, getArtifactLinksThatExist, getBuildTime, getCommits, getDurationDescription, getFixingJiraIssues, getJiraIssueKeys, getLabelNames, getManuallyOverriddenVariables, getPlanResultKey, getProcessingDurationDescription, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getRelativeBuildStartedDate, getRelativeBuildStartedDate, getRelativeQueueDate, getRelativeQueueDate, getShortReasonSummary, getStatDate, getTestSummary, getUniqueAuthors, hasChanges, hasComments, hashCode, isActive, isFailed, isFinalized, isFinished, isInProgress, isNotBuilt, isPending, isQueued, isSuccessful, isWaiting
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.deletion.Deletable
setMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 
Methods inherited from interface com.atlassian.bamboo.plan.cache.ImmutableDeletable
isMarkedForDeletion
 
Methods inherited from interface com.atlassian.bamboo.resultsummary.ImmutableResultsSummary
getArtifactLinksThatExist, getBuildTime, getCommits, getDurationDescription, getFixingJiraIssues, getJiraIssueKeys, getLabelNames, getManuallyOverriddenVariables, getPlanResultKey, getProcessingDurationDescription, getRelatedJiraIssues, getRelativeBuildDate, getRelativeBuildDate, getRelativeBuildStartedDate, getRelativeBuildStartedDate, getRelativeQueueDate, getRelativeQueueDate, getShortReasonSummary, getTestSummary, getUniqueAuthors, hasChanges, hasComments, isActive, isFailed, isFinished, isInProgress, isNotBuilt, isNotRunYet, isPending, isQueued, isSuccessful, isWaiting
 
Methods inherited from interface com.atlassian.bamboo.resultsummary.ResultStatisticsProvider
getStatDate
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface com.atlassian.bamboo.plan.PlanResultKeyProvider
getPlanResultKey
 

Field Detail

markedForDeletion

protected boolean markedForDeletion

buildState

protected BuildState buildState

lifeCycleState

protected LifeCycleState lifeCycleState

cachedPlanManagerRef

protected static final com.google.common.base.Supplier<CachedPlanManager> cachedPlanManagerRef

planManagerRef

protected static final com.google.common.base.Supplier<PlanManager> planManagerRef
Constructor Detail

AbstractResultsSummary

public AbstractResultsSummary()
Method Detail

getImmutablePlan

@NotNull
public ImmutablePlan getImmutablePlan()
Description copied from interface: ResultsSummary
Gets the Plan that this result belongs directly belongs to

Specified by:
getImmutablePlan in interface ImmutableResultsSummary
Specified by:
getImmutablePlan in interface ResultsSummary
Returns:
the owning plan for the result

getPlan

@NotNull
public Plan getPlan()
Description copied from interface: ResultsSummary
Gets the Plan that this result belongs directly belongs to

Specified by:
getPlan in interface ImmutableResultsSummary
Specified by:
getPlan in interface ResultsSummary
Returns:
the owning plan for the result

getBuildResultKey

@NotNull
public String getBuildResultKey()
Specified by:
getBuildResultKey in interface ResultsSummary
Returns:
full build result key e.g. BAM-MAIN-100

getBuildKey

@NotNull
public String getBuildKey()
Specified by:
getBuildKey in interface ResultsSummary
Returns:
full key of the plan. e.g BAM-MAIN

getReasonSummary

public String getReasonSummary()
Specified by:
getReasonSummary in interface ImmutableResultsSummary

setBuildKey

public void setBuildKey(String buildKey)
Specified by:
setBuildKey in interface MutableBuildKeyResultsSummary

getBuildNumber

public int getBuildNumber()
Description copied from interface: ResultStatisticsProvider
Get build number

Specified by:
getBuildNumber in interface ResultStatisticsProvider
Returns:
build number of the described build

setBuildNumber

public void setBuildNumber(int buildNumber)

getBuildDate

public Date getBuildDate()
Date when build was passed to execution. For chain result this date is set when the first job is started.

Specified by:
getBuildDate in interface ResultStatisticsProvider
Returns:

setBuildDate

public void setBuildDate(Date buildDate)
Specified by:
setBuildDate in interface ResultsSummary

getQueueTime

public Date getQueueTime()
Date when build was queued. For chain result this date is set when the whole chain is created - as chain is created in QUEUED state.

Specified by:
getQueueTime in interface ImmutableResultsSummary
Returns:

setQueueTime

public void setQueueTime(Date queueTime)
Specified by:
setQueueTime in interface ResultsSummary

getBuildCompletedDate

public Date getBuildCompletedDate()
Description copied from interface: ImmutableResultsSummary
When the build finished

Specified by:
getBuildCompletedDate in interface ImmutableResultsSummary
Returns:

setBuildCompletedDate

public void setBuildCompletedDate(Date buildCompletedDate)
Specified by:
setBuildCompletedDate in interface ResultsSummary

getDeltaState

public DeltaState getDeltaState()
Description copied from interface: ImmutableResultsSummary
Gets the DeltaState of the summary. It can be a build that fixes, breaks, failing, successful. Provides a status relative to the previous summary.

Specified by:
getDeltaState in interface ImmutableResultsSummary
Returns:

setDeltaState

public void setDeltaState(DeltaState deltaState)
Description copied from interface: ResultsSummary
Sets the DeltaState for the summary. Provides a status relative to the previous summary.

Specified by:
setDeltaState in interface ResultsSummary
Parameters:
deltaState - - the relative status for this summary

isOnceOff

public boolean isOnceOff()
Description copied from interface: ImmutableResultsSummary
Indicates that this result was run with custom revision and should be considered as 'once-off' when calculating telemetry and other stuff

Specified by:
isOnceOff in interface ImmutableResultsSummary
Returns:

setOnceOff

public void setOnceOff(boolean onceOff)
Specified by:
setOnceOff in interface ResultsSummary

isCustomBuild

public boolean isCustomBuild()
Description copied from interface: ImmutableResultsSummary
Indicates that this result was run with custom variables (some of the variables were overwritten) - used to display indicator in UI

Specified by:
isCustomBuild in interface ImmutableResultsSummary
Returns:

setCustomBuild

public void setCustomBuild(boolean customBuild)
Specified by:
setCustomBuild in interface ResultsSummary

isRebuild

public boolean isRebuild()
Description copied from interface: ImmutableResultsSummary
Indicates that this result was rebuild via "re-run this build" action.

Specified by:
isRebuild in interface ImmutableResultsSummary
Returns:

setRebuild

public void setRebuild(boolean rebuild)
Specified by:
setRebuild in interface ResultsSummary

getLogSize

@Nullable
public Long getLogSize()
Description copied from interface: ImmutableResultsSummary
Returns the size of log associated with this result.

For a BuildResultsSummary this method will return size of the log produced by the Job.

For a ChainResultsSummary the returned value will be equal to the maximum log size produced by this Chain's Jobs.

Specified by:
getLogSize in interface ImmutableResultsSummary
Returns:
the log size or null, if the value is not known

setLogSize

public void setLogSize(@Nullable
                       Long logSize)
Description copied from interface: ResultsSummary
Sets the size of the log file associated with this result, eg. size of the log produced by a Job or largest log produced by Chain's Jobs.

Specified by:
setLogSize in interface ResultsSummary
Parameters:
logSize - size of the largest log associated with the result (use null if unknown)

getJiraIssues

@NotNull
public Set<LinkedJiraIssue> getJiraIssues()
Description copied from interface: ImmutableResultsSummary
Returns all the JIRA issues linked to this build result

Specified by:
getJiraIssues in interface ImmutableResultsSummary
Returns:

setJiraIssues

public void setJiraIssues(Set jiraIssues)

getCustomBuildData

@NotNull
public Map<String,String> getCustomBuildData()
Description copied from interface: ImmutableResultsSummary
Custom data map to store random metadata about the build

Specified by:
getCustomBuildData in interface ImmutableResultsSummary
Returns:

setCustomBuildData

public void setCustomBuildData(Map<String,String> customBuildData)

updateCustomDataEntry

public void updateCustomDataEntry(@NotNull
                                  String key,
                                  @NotNull
                                  String value)
Description copied from interface: BambooCustomDataAware
Add or modify key value pair to Object's custom data map.

Specified by:
updateCustomDataEntry in interface BambooCustomDataAware

getTimeToFix

public Long getTimeToFix()
Description copied from interface: ImmutableResultsSummary
A stored version of how long (milli seconds) it took for this build to fix a failure.

Specified by:
getTimeToFix in interface ImmutableResultsSummary
Returns:
Null if not a fixing build

setTimeToFix

public void setTimeToFix(Long timeToFix)
Description copied from interface: ResultsSummary
A stored version of how long (milli seconds) it took for this build to fix a failure.

Specified by:
setTimeToFix in interface ResultsSummary
Parameters:
timeToFix - how long (milli seconds) it took for this build to fix a failure.

getLabellings

public List<Labelling> getLabellings()
Description copied from interface: ImmutableResultsSummary
Tags / labels assocaited with the build

Specified by:
getLabellings in interface ImmutableResultsSummary
Returns:

setLabellings

public void setLabellings(List<Labelling> labellings)

setComments

public void setComments(List<Comment> comments)

getArtifactLinks

@NotNull
public List<ArtifactLink> getArtifactLinks()
Description copied from interface: ImmutableResultsSummary
Returns all artifacts associated with this build. Even if the files don't exist

Specified by:
getArtifactLinks in interface ImmutableResultsSummary
Returns:

setArtifactLinks

public void setArtifactLinks(List<ArtifactLink> artifactLinks)

getSubscriptions

@NotNull
public List<ConsumedSubscription> getSubscriptions()
Description copied from interface: ImmutableResultsSummary
Returns list of consumed artifact dependencies ConsumedSubscription

Specified by:
getSubscriptions in interface ImmutableResultsSummary
Returns:

setSubscriptions

public void setSubscriptions(List<ConsumedSubscription> subscriptions)

getTriggerReasonKey

public String getTriggerReasonKey()

setTriggerReasonKey

public void setTriggerReasonKey(String triggerReasonKey)

getTriggerReason

@NotNull
public TriggerReason getTriggerReason()
Description copied from interface: ImmutableResultsSummary
Why the build was was triggered

Specified by:
getTriggerReason in interface ImmutableResultsSummary
Returns:

setTriggerReason

public void setTriggerReason(TriggerReason triggerReason)
Specified by:
setTriggerReason in interface ResultsSummary

getBuildAgentId

public Long getBuildAgentId()
Description copied from interface: ImmutableResultsSummary
The id of the latest agent that built the result

Specified by:
getBuildAgentId in interface ImmutableResultsSummary
Returns:
Null if no agents involved or unknown

setBuildAgentId

public void setBuildAgentId(long buildAgentId)
Specified by:
setBuildAgentId in interface ResultsSummary

getDuration

public long getDuration()
Description copied from interface: ImmutableResultsSummary
Duration of the build in milliseconds

Specified by:
getDuration in interface ImmutableResultsSummary
Specified by:
getDuration in interface ResultStatisticsProvider
Returns:
duration of the build in milliseconds

setDuration

public void setDuration(long duration)
Specified by:
setDuration in interface ResultsSummary
Parameters:
duration - duration of the build in milliseconds

getProcessingDuration

public long getProcessingDuration()
Description copied from interface: ImmutableResultsSummary
Duration of actual build processing in miliseconds

Specified by:
getProcessingDuration in interface ImmutableResultsSummary
Specified by:
getProcessingDuration in interface ResultStatisticsProvider
Returns:
processing duration of the build in milliseconds

setProcessingDuration

public void setProcessingDuration(long processingDuration)
Specified by:
setProcessingDuration in interface ResultsSummary

getBuildCancelledDate

@Nullable
public Date getBuildCancelledDate()
Description copied from interface: ImmutableResultsSummary
When the build was cancelled

Specified by:
getBuildCancelledDate in interface ImmutableResultsSummary
Returns:
date of build cancellation or null if build was not cancelled

setBuildCancelledDate

public void setBuildCancelledDate(Date buildCancelledDate)
Specified by:
setBuildCancelledDate in interface ResultsSummary

getChangesListSummary

@NotNull
public String getChangesListSummary()
Specified by:
getChangesListSummary in interface ImmutableResultsSummary

getTriggerManager

protected TriggerManager getTriggerManager()
Specified by:
getTriggerManager in class BaseResultSummary

getBuildState

public BuildState getBuildState()
Description copied from interface: ResultStatisticsProvider
Build state.

Specified by:
getBuildState in interface ResultStatisticsProvider
Returns:
build state

setBuildState

public void setBuildState(BuildState buildState)

getLifeCycleState

public LifeCycleState getLifeCycleState()
Specified by:
getLifeCycleState in interface ImmutableResultsSummary

setLifeCycleState

public void setLifeCycleState(LifeCycleState lifeCycleState)

updateLifeCycleState

public void updateLifeCycleState(@NotNull
                                 LifeCycleState lifeCycleState,
                                 @NotNull
                                 BuildState buildState)
Description copied from interface: ResultsSummary
Update lifeCycleState and buildState in one go. Can throw IllegalArgumentException when values passed make no sense: - lifeCycleState == LifeCycleState.NOT_BUILT && buildState != BuildState.UNKNOWN

Specified by:
updateLifeCycleState in interface ResultsSummary
Parameters:
lifeCycleState - lifeCycleState to be set
buildState - buildState to be set

getDiscriminator

public String getDiscriminator()

setDiscriminator

public void setDiscriminator(String discriminator)

getComments

@NotNull
@Deprecated
public List<Comment> getComments()
Deprecated. since 5.0

Description copied from interface: ImmutableResultsSummary
Gets the associated user comments for the build

Specified by:
getComments in interface ImmutableResultsSummary
Returns:

getRepositoryChangesets

@NotNull
public List<RepositoryChangeset> getRepositoryChangesets()
Specified by:
getRepositoryChangesets in interface ImmutableResultsSummary

getSubstitutedVariables

@NotNull
public List<VariableSubstitution> getSubstitutedVariables()
Description copied from interface: ImmutableResultsSummary
Returns list of variables substituted during build execution

Specified by:
getSubstitutedVariables in interface ImmutableResultsSummary
Returns:

setSubstitutedVariables

public void setSubstitutedVariables(List<VariableSubstitution> substitutedVariables)

getVariableContextLogs

@NotNull
public List<VariableContextSnapshot> getVariableContextLogs()
Specified by:
getVariableContextLogs in interface ImmutableResultsSummary

setVariableContextLogs

public void setVariableContextLogs(List<VariableContextSnapshot> variableContextLogs)

getResultVariables

@NotNull
public Iterable<VariableContextSnapshot> getResultVariables()

getVariableContext

@NotNull
public com.google.common.collect.ImmutableList<VariableBaselineItem> getVariableContext()
Specified by:
getVariableContext in interface ImmutableResultsSummary

getVariableContextBaseline

public VariableContextBaseline getVariableContextBaseline()
Specified by:
getVariableContextBaseline in interface ResultsSummary
Returns:

setVariableContextBaseline

public void setVariableContextBaseline(@Nullable
                                       VariableContextBaseline variableContextBaseline)
Description copied from interface: ResultsSummary
Internal use only.

Specified by:
setVariableContextBaseline in interface ResultsSummary

getTestResultsSummary

@NotNull
public TestResultsSummary getTestResultsSummary()
Specified by:
getTestResultsSummary in interface ImmutableResultsSummary
Returns:
a summary of all the tests that ran in this build.

setTestResultsSummary

public void setTestResultsSummary(@NotNull
                                  TestResultsSummary testResultsSummary)
Description copied from interface: ResultsSummary
Set the test summary information from this build

Specified by:
setTestResultsSummary in interface ResultsSummary
Parameters:
testResultsSummary - the test summary information

getTestClassResults

@NotNull
public List<TestClassResult> getTestClassResults()

resetTestClassResults

public void resetTestClassResults(@NotNull
                                  List<TestClassResult> testClassResults)
Description copied from interface: ResultsSummary
Overrides all current testClassResults with the new ones

Specified by:
resetTestClassResults in interface ResultsSummary
Parameters:
testClassResults - to set

getCustomBuildDataRows

public List<CustomDataRow> getCustomBuildDataRows()
This method is not intended to be used outside BuildResultsSummaryHibernateDao

Returns:

getStageResultId

public Long getStageResultId()

setStageResultId

public void setStageResultId(Long stageResultId)

getRestartCount

public int getRestartCount()
Description copied from interface: ImmutableResultsSummary
Return the number of build restart attempts

Specified by:
getRestartCount in interface ImmutableResultsSummary
Returns:

incrementRestartCount

public int incrementRestartCount()
Description copied from interface: ResultsSummary
Increments number of build restarts and returns the new value

Specified by:
incrementRestartCount in interface ResultsSummary
Returns:

setRestartCount

public void setRestartCount(int restartCount)

getPlanKey

@NotNull
public PlanKey getPlanKey()
Description copied from interface: ImmutableResultsSummary
Full key of the plan. e.g BAM-MAIN

Specified by:
getPlanKey in interface ImmutableResultsSummary
Returns:

setPlanKey

public void setPlanKey(PlanKey planKey)
Specified by:
setPlanKey in interface MutableBuildKeyResultsSummary

getFormatVersion

public int getFormatVersion()
Specified by:
getFormatVersion in interface ResultsSummary
Returns:
build number of Bamboo version in which this result was created

updateFormatVersion

public void updateFormatVersion()
Description copied from interface: ResultsSummary
Sets format version to current Bamboo build number.

Specified by:
updateFormatVersion in interface ResultsSummary

setFormatVersion

public void setFormatVersion(int formatVersion)


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.