|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.build.BuildObjectForTests
@Deprecated public class BuildObjectForTests
Information about a build under Continuous Integration.
Field Summary | |
---|---|
protected java.util.List |
myBuildResultSummaries
Deprecated. |
Fields inherited from interface com.atlassian.bamboo.plan.cache.ImmutablePlan |
---|
MAX_NUMBER_LOG_ENTRIES, MAX_PREVIOUS_BUILD_FOR_AVE, STATUS_CURRENTLY_BUILDING, STATUS_FAIL, STATUS_NO_BUILDS, STATUS_NOT_RUN, STATUS_SUCCESS |
Constructor Summary | |
---|---|
BuildObjectForTests()
Deprecated. Simple package constructor for testing |
|
BuildObjectForTests(Repository repository,
java.lang.String name)
Deprecated. Create a build |
|
BuildObjectForTests(Repository repository,
java.lang.String name,
java.lang.String emailAddress)
Deprecated. Create a build |
Method Summary | |
---|---|
java.lang.String |
addBuildLogEntry(LogEntry logEntry)
Deprecated. |
java.lang.String |
addBuildLogEntry(java.lang.String entryDescription)
Deprecated. Add a new entry to the build log |
void |
addBuildResultSummary(BuildResultsSummary buildResultsSummary)
Deprecated. Add the given build results summary to the build. |
ChainStage |
addNewStage(java.lang.String name,
java.lang.String description,
boolean manual)
Deprecated. Adds a new stage and returns the stage |
void |
addStage(ChainStage chainStage)
Deprecated. |
void |
clearBuildLog()
Deprecated. |
boolean |
containsStage(java.lang.String stageName)
Deprecated. Checks whether or not a stage exists in this chain by stage name. |
boolean |
equals(java.lang.Object o)
Deprecated. We're only using the build name to compare builds |
java.util.List<Job> |
getAllJobs()
Deprecated. Note: Does not include Jobs that are marked for deletion. |
java.util.List<ChainStage> |
getAllStages()
Deprecated. Get Stages of the Chain Note that this includes ChainStage s that have been marked for deletion |
long |
getAverageBuildDuration()
Deprecated. Returns an average duration of the recent builds |
BranchIntegrationConfiguration |
getBranchIntegrationConfiguration()
Deprecated. Returns ChainBranch integration strategy settings, including the branch to merge with, and... |
BranchMonitoringConfiguration |
getBranchMonitoringConfiguration()
Deprecated. Returns plan's branches monitor current settings, like if it is enabled, what is the branch matching regexp and etc... |
BranchSpecificConfiguration |
getBranchSpecificConfiguration()
Deprecated. Returns any configuration that is specific to a branch plan, and not so relevant for a normal plan. |
java.util.List<java.lang.String> |
getBuildChangedEmailList()
Deprecated. Who wants to know when the build changes? A list of individual email addresses. |
java.lang.String |
getBuildChangedEmails()
Deprecated. Who wants to know when the build changes? One or more email addresses (comma separated list) |
BuildDefinition |
getBuildDefinition()
Deprecated. Returns the BuildDefinition that backs this Plan |
BuildDefinitionForBuild |
getBuildDefinitionXml()
Deprecated. |
java.lang.String |
getBuildKey()
Deprecated. This objects specific portion of the key. |
java.util.Collection |
getBuildLog()
Deprecated. Provide the latest build details. |
BuildLogger |
getBuildLogger()
Deprecated. Returns the helper object to deal with logging |
java.lang.String |
getBuildName()
Deprecated. |
BuildResultsSummaryManager |
getBuildResultsSummaryManager()
Deprecated. |
java.util.List<BuildResultsSummary> |
getBuildResultSummaries()
Deprecated. Obtains the builds total collection of BuildResultsSummary objects (most
recent first), one for each build. |
BuildStrategy |
getBuildStrategy()
Deprecated. Returns to BuildStrategy that the user actually selects |
java.util.Map |
getConfigObjects()
Deprecated. Returns a map of objects generated by the plugins. |
BuildStrategy |
getCurrentBuildStrategy()
Deprecated. |
java.lang.String |
getCurrentStatus()
Deprecated. Returns the string representation the current status of a build. |
java.util.Map<java.lang.String,java.lang.String> |
getCustomConfiguration()
Deprecated. A map consisting of String key and String value pairs. |
BuildDefinition |
getDefaultBuildDefinition()
Deprecated. |
java.lang.String |
getDescription()
Deprecated. |
java.util.List<RepositoryDefinition> |
getEffectiveRepositoryDefinitions()
Deprecated. Return list of repositories available to the chain. |
RequirementSet |
getEffectiveRequirementSet()
Deprecated. Return effective value of RequirementSet , that is value that is considered when checking which agents and elastic images
can build this Buildable. |
java.util.List<VariableDefinition> |
getEffectiveVariables()
Deprecated. Return effective list of VariableDefinition s bind to this Plan. |
java.util.List |
getFieldValueItems()
Deprecated. |
int |
getFirstBuildNumber()
Deprecated. What the number of the first build we have? It may not be 1 as some may have been removed! |
BuildResultsSummary |
getFirstBuildSummary()
Deprecated. |
long |
getId()
Deprecated. |
int |
getJobCount()
Deprecated. Note: Does not include Jobs that are marked for deletion. |
java.lang.String |
getKey()
Deprecated. Returns key of the project. |
java.util.List<Labelling> |
getLabellings()
Deprecated. Used only for Hibernate mapping purposes. |
java.util.List<java.lang.String> |
getLabelNames()
Deprecated. Returns all the names of related labels with a namesapce of :label |
int |
getLastBuildNumber()
Deprecated. What was the number of the lastest build (may be being built) |
java.util.Date |
getLastBuildStartTime()
Deprecated. When was the last time this build was built? |
PlanResultKey |
getLastResultKey()
Deprecated. Get the latest result key including active (not finished) results |
BuildResultsSummary |
getLatestBuildSummary()
Deprecated. Get the summary from the latest build |
ResultsSummary |
getLatestResultsSummary()
Deprecated. Get the latest finished result |
Chain |
getMaster()
Deprecated. Return the master plan if one exists. |
java.lang.String |
getName()
Deprecated. Obtain the build's name |
int |
getNextBuildNumber()
Deprecated. The next build number represents the number of the next build result that's to be executed |
BuildResults |
getNextBuildResults(int buildNumber)
Deprecated. |
NotificationSet |
getNotificationSet()
Deprecated. Get notifications defined for this plan. |
long |
getNumberOfBuildSummaries()
Deprecated. |
int |
getNumberOfConcurrentlyRunningBuilds()
Deprecated. |
Plan |
getPlan()
Deprecated. |
PlanKey |
getPlanKey()
Deprecated. Get the PlanKey identifier for this Plan |
java.util.List<Plan> |
getPlans()
Deprecated. Returns all Plan associated with the Project . |
PlanType |
getPlanType()
Deprecated. |
BuildResults |
getPreviousBuildResults(int buildNumber)
Deprecated. |
Project |
getProject()
Deprecated. Returns the parent Project |
java.util.List<Labelling> |
getRelatedLabellings()
Deprecated. Returns labellings that's application for the plan level |
Repository |
getRepository()
Deprecated. Obtain the build's Repository . |
java.lang.Long |
getRepositoryIdDefiningWorkingDir()
Deprecated. |
RequirementSet |
getRequirementSet()
Deprecated. |
java.util.List<ChainStage> |
getStages()
Deprecated. Get Stages of the chain. |
java.util.List<TaskDefinition> |
getTaskDefinitions()
Deprecated. All tasks defined for this build. |
java.util.List<TestClass> |
getTestClasses()
Deprecated. |
java.util.List<TopLevelPlan> |
getTopLevelPlans()
Deprecated. This methods returns all TopLevelPlans, including the ones marked for deletion Use this method only if all you need is present in TopLevelPlan interface, otherwise consider using getAllChains. |
java.lang.String |
getType()
Deprecated. Returns the string representation of the type. |
java.util.List<VariableDefinition> |
getVariables()
Deprecated. Return list of VariableDefinition s bind to this Plan |
java.lang.String |
getXmlData()
Deprecated. |
boolean |
hasBuildResults()
Deprecated. Has the build got any build results to display? |
int |
hashCode()
Deprecated. IntelliJ generated hash |
boolean |
hasMaster()
Deprecated. |
boolean |
hasTests()
Deprecated. Do any of TaskDefinition being used in the plan implement TaskTestResultsSupport |
boolean |
isActive()
Deprecated. Is the plan queued or building? |
boolean |
isBusy()
Deprecated. Is the Plan "busy". |
java.lang.Boolean |
isCleanWorkingDirectory()
Deprecated. Should the working directory be cleaned after build. |
boolean |
isExecuting()
Deprecated. Is the build currently being executed? |
boolean |
isMarkedForDeletion()
Deprecated. Is the plan set to be deleted in the future |
boolean |
isMarkedForEditBuild()
Deprecated. |
boolean |
isMarkedForManualBuild()
Deprecated. Has a manual build been requested for this build? |
boolean |
isMerged()
Deprecated. |
boolean |
isSuspendedFromBuilding()
Deprecated. Checks if the build has been enabled / disabled. |
boolean |
isValidValue(java.lang.Object validValue)
Deprecated. Whether or not a given object is a valid value for this BuildDefinition. |
void |
markAsNeedingBuilding(ReasonForBuild reasonForBuild)
Deprecated. |
void |
removeBuildResultSummary(int buildNumber)
Deprecated. |
void |
removeStage(ChainStage chainStage)
Deprecated. |
void |
save()
Deprecated. |
void |
setBranchIntegrationConfiguration(BranchIntegrationConfiguration branchIntegrationConfiguration)
Deprecated. |
void |
setBranchMonitoringConfiguration(BranchMonitoringConfiguration branchMonitoringConfiguration)
Deprecated. |
void |
setBranchSpecificConfiguration(BranchSpecificConfiguration branchSpecificConfiguration)
Deprecated. |
void |
setBuildChangedEmails(java.lang.String emailAddress)
Deprecated. Define who is notified of build results by email |
void |
setBuildDefinition(BuildDefinitionForBuild buildDefinition)
Deprecated. |
void |
setBuildDefinitionXml(BuildDefinitionForBuild buildDefinitionXml)
Deprecated. |
void |
setBuildKey(java.lang.String buildKey)
Deprecated. Define the build's unique key (uppercase alphanumeric) |
void |
setBuildName(java.lang.String buildName)
Deprecated. |
void |
setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
Deprecated. |
void |
setBuildResultSummaries(java.util.List buildResultSummaries)
Deprecated. Legacy left over method (this is the extreme version of build result summaries) |
void |
setBuildStrategy(BuildStrategy buildStrategy)
Deprecated. Set the strategy to override the default build strategy. |
void |
setCleanWorkingDirectory(boolean cleanWorkingDirectory)
Deprecated. Set the working directory be cleaned or not cleaned after build |
void |
setConfigObjects(java.util.Map configObjects)
Deprecated. |
void |
setCustomConfiguration(java.util.Map<java.lang.String,java.lang.String> configMap)
Deprecated. A map of String key and String value pairs, representing custom |
void |
setDescription(java.lang.String description)
Deprecated. |
void |
setFieldValueItems(java.util.List fieldValueItems)
Deprecated. |
void |
setFirstBuildNumber(int firstBuildNumber)
Deprecated. |
void |
setId(long id)
Deprecated. |
void |
setInBuildQueue(boolean isBuilding)
Deprecated. Set the is-building flag. |
void |
setKey(java.lang.String key)
Deprecated. Sets the key for the project. |
void |
setLabellings(java.util.List labellings)
Deprecated. |
void |
setLastBuildNumber(int lastBuildNumber)
Deprecated. |
void |
setLastBuildStartTime(java.util.Date lastBuildTime)
Deprecated. Set the time of the last build |
void |
setMarkedForDeletion(boolean markedForDeletion)
Deprecated. |
void |
setMaster(Plan master)
Deprecated. Set which plan is the master of this plan. |
void |
setMerged(boolean value)
Deprecated. Set whether or not this BuildDefinition has been merged from multiple sources. |
void |
setName(java.lang.String name)
Deprecated. |
void |
setNextBuildNumber(int nextBuildNumber)
Deprecated. |
void |
setNotificationSet(NotificationSet notificationSet)
Deprecated. |
void |
setPlan(Plan build)
Deprecated. |
void |
setPlanKey(PlanKey planKey)
Deprecated. |
void |
setProject(Project project)
Deprecated. |
void |
setRepositoryIdDefiningWorkingDir(long repositoryDefininingWorkingDir)
Deprecated. |
void |
setRequirementSet(RequirementSet requirementSet)
Deprecated. |
void |
setSuspendedFromBuilding(boolean suspendFromBuilding)
Deprecated. Sets the build to suspend temporarily |
void |
setTaskDefinitions(java.util.List<TaskDefinition> taskConfigs)
Deprecated. |
void |
setXmlData(java.lang.String xmlData)
Deprecated. |
void |
unmarkBuild()
Deprecated. |
ErrorCollection |
validateBuild()
Deprecated. Validates the build's builder and source code locations |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List myBuildResultSummaries
Constructor Detail |
---|
public BuildObjectForTests()
public BuildObjectForTests(Repository repository, java.lang.String name)
repository
- The Repository
containing the buildname
- The name of the buildpublic BuildObjectForTests(Repository repository, java.lang.String name, java.lang.String emailAddress)
repository
- The Repository
containing the buildname
- The name of the buildemailAddress
- The build email notification addressMethod Detail |
---|
@NotNull public java.util.List<TaskDefinition> getTaskDefinitions()
BuildDefinition
getTaskDefinitions
in interface BuildDefinition
getTaskDefinitions
in interface PartialBuildDefinition
List
of TaskDefinition
spublic void setTaskDefinitions(@NotNull java.util.List<TaskDefinition> taskConfigs)
setTaskDefinitions
in interface BuildDefinition
@NotNull public BuildLogger getBuildLogger()
ImmutablePlan
getBuildLogger
in interface ImmutablePlan
BuildLogger
. @NotNull@NotNull public java.lang.String getCurrentStatus()
Project
ImmutablePlan.getCurrentStatus()
.
It will return "current" if any plan is building, and "fail" if any plan is failing.
getCurrentStatus
in interface ImmutablePlan
getCurrentStatus
in interface Project
@NotNull public java.lang.String getBuildName()
getBuildName
in interface PlanIdentifier
PlanIdentifier.getName()
public void setBuildName(java.lang.String buildName)
setBuildName
in interface Plan
public BuildDefinitionForBuild getBuildDefinitionXml()
getBuildDefinitionXml
in interface ImmutablePlan
public void setBuildDefinitionXml(BuildDefinitionForBuild buildDefinitionXml)
setBuildDefinitionXml
in interface Plan
public void setFieldValueItems(java.util.List fieldValueItems)
public void setNextBuildNumber(int nextBuildNumber)
setNextBuildNumber
in interface Plan
public void setLastBuildNumber(int lastBuildNumber)
setLastBuildNumber
in interface Plan
public void setFirstBuildNumber(int firstBuildNumber)
setFirstBuildNumber
in interface Plan
public int getNextBuildNumber()
ImmutablePlan
getNextBuildNumber
in interface ImmutablePlan
public void setKey(@NotNull java.lang.String key)
Project
setKey
in interface Plan
setKey
in interface Project
public void setPlanKey(@NotNull PlanKey planKey)
setPlanKey
in interface Plan
@NotNull public PlanKey getPlanKey()
PlanIdentifier
PlanKey
identifier for this Plan
getPlanKey
in interface PlanIdentifier
@NotNull public java.lang.String getBuildKey()
PlanIdentifier
PlanIdentifier.getPlanKey()
.
getBuildKey
in interface PlanIdentifier
public void setProject(Project project)
setProject
in interface Plan
public void setPlan(Plan build)
setPlan
in interface BuildDefinitionForBuild
public void setBuildDefinition(BuildDefinitionForBuild buildDefinition)
public java.lang.String getXmlData()
getXmlData
in interface BuildDefinitionXml
public void setXmlData(java.lang.String xmlData)
setXmlData
in interface BuildDefinitionXml
@NotNull public BuildDefinition getBuildDefinition()
ImmutablePlan
BuildDefinition
that backs this Plan
getBuildDefinition
in interface ImmutablePlan
BuildDefinition
object.public long getId()
getId
in interface BambooIdProvider
getId
in interface PlanIdentifier
public void setId(long id)
setId
in interface BambooObject
@NotNull public Project getProject()
ImmutablePlan
Project
getProject
in interface ImmutablePlan
getProject
in interface PlanIdentifier
Project
. Never nullpublic Plan getPlan()
getPlan
in interface BuildDefinitionForBuild
@NotNull public PlanType getPlanType()
getPlanType
in interface PlanIdentifier
public BuildStrategy getCurrentBuildStrategy()
@NotNull public BuildStrategy getBuildStrategy()
BuildDefinition
BuildStrategy
that the user actually selects
getBuildStrategy
in interface BuildDefinition
getBuildStrategy
in interface PartialBuildDefinition
BuildStrategy
@NotNull public BranchMonitoringConfiguration getBranchMonitoringConfiguration()
BuildDefinition
getBranchMonitoringConfiguration
in interface BuildDefinition
getBranchMonitoringConfiguration
in interface PartialBuildDefinition
BranchMonitoringConfiguration
@NotNull public BranchIntegrationConfiguration getBranchIntegrationConfiguration()
BuildDefinition
getBranchIntegrationConfiguration
in interface BuildDefinition
getBranchIntegrationConfiguration
in interface PartialBuildDefinition
BranchIntegrationConfiguration
public void save()
public void setBuildStrategy(BuildStrategy buildStrategy)
setBuildStrategy
in interface BuildDefinition
buildStrategy
- The next build strategy to use.public void setBranchMonitoringConfiguration(BranchMonitoringConfiguration branchMonitoringConfiguration)
setBranchMonitoringConfiguration
in interface BuildDefinition
public void setBranchIntegrationConfiguration(BranchIntegrationConfiguration branchIntegrationConfiguration)
setBranchIntegrationConfiguration
in interface BuildDefinition
public Repository getRepository()
Repository
.
getRepository
in interface BuildPlanDefinition
@NotNull public java.lang.String getName()
getName
in interface PlanIdentifier
getName
in interface ProjectIdentifier
getName
in interface DescriptionProvider
getName
in interface NameProvider
public void setName(java.lang.String name)
setName
in interface Describable
setName
in interface Project
public java.lang.String getDescription()
getDescription
in interface DescriptionProvider
public void setDescription(java.lang.String description)
setDescription
in interface Describable
@NotNull public java.lang.String getKey()
ProjectIdentifier
getKey
in interface ImmutablePlan
getKey
in interface ProjectIdentifier
public BuildDefinition getDefaultBuildDefinition()
@NotNull public java.util.List<Plan> getPlans()
Project
Plan
associated with the Project
. Returns Collections.emptyList()
if
there are no Plan
s for the project.
getPlans
in interface Project
List
of Plan
s. Collections.emptyList()
if no plans.@NotNull public java.util.List<TopLevelPlan> getTopLevelPlans()
Project
getTopLevelPlans
in interface Project
@NotNull public java.util.List<Labelling> getLabellings()
Plan
getLabellings
in interface Plan
getLabellings
in interface Project
@NotNull public java.util.List<Labelling> getRelatedLabellings()
Plan
getRelatedLabellings
in interface Plan
getRelatedLabellings
in interface Project
@NotNull public java.util.List<java.lang.String> getLabelNames()
ImmutablePlan
getLabelNames
in interface ImmutablePlan
public void setLabellings(java.util.List labellings)
setLabellings
in interface Plan
setLabellings
in interface Project
public void setBuildKey(java.lang.String buildKey)
Plan
setBuildKey
in interface Plan
buildKey
- The value of the key@NotNull public java.lang.String getBuildChangedEmails()
getBuildChangedEmails
in interface BuildDefinition
getBuildChangedEmails
in interface PartialBuildDefinition
public void setBuildChangedEmails(java.lang.String emailAddress)
setBuildChangedEmails
in interface BuildDefinition
emailAddress
- The build email address@NotNull public java.util.List<java.lang.String> getBuildChangedEmailList()
getBuildChangedEmailList
in interface BuildDefinition
getBuildChangedEmailList
in interface PartialBuildDefinition
public int getLastBuildNumber()
getLastBuildNumber
in interface ImmutablePlan
public void addBuildResultSummary(BuildResultsSummary buildResultsSummary)
addBuildResultSummary
in interface Buildable
buildResultsSummary
- The build summarypublic void setBuildResultSummaries(java.util.List buildResultSummaries)
buildResultSummaries
- public java.util.List<BuildResultsSummary> getBuildResultSummaries()
BuildResultsSummary
objects (most
recent first), one for each build.
EW 01/11/2006 - Moved to a hibernated source for build result summaries.
getBuildResultSummaries
in interface Buildable
public void setInBuildQueue(boolean isBuilding)
isBuilding
- Is the build currently in the build pipeline?public int getNumberOfConcurrentlyRunningBuilds()
getNumberOfConcurrentlyRunningBuilds
in interface Buildable
public boolean isActive()
ImmutablePlan
isActive
in interface ImmutablePlan
public boolean isExecuting()
ImmutablePlan
isExecuting
in interface ImmutablePlan
public java.util.Date getLastBuildStartTime()
public void setLastBuildStartTime(java.util.Date lastBuildTime)
lastBuildTime
- the time@NotNull public java.lang.Long getRepositoryIdDefiningWorkingDir()
getRepositoryIdDefiningWorkingDir
in interface BuildDefinition
getRepositoryIdDefiningWorkingDir
in interface PartialBuildDefinition
public void setRepositoryIdDefiningWorkingDir(long repositoryDefininingWorkingDir)
setRepositoryIdDefiningWorkingDir
in interface BuildDefinition
public boolean hasBuildResults()
hasBuildResults
in interface Buildable
@NotNull public java.util.Map<java.lang.String,java.lang.String> getCustomConfiguration()
BuildPlanDefinition
getCustomConfiguration
in interface BuildDefinition
getCustomConfiguration
in interface PartialBuildDefinition
getCustomConfiguration
in interface BuildPlanDefinition
public void setCustomConfiguration(@NotNull java.util.Map<java.lang.String,java.lang.String> configMap)
BuildDefinition
setCustomConfiguration
in interface BuildDefinition
configMap
- - can be nullpublic BuildResultsSummary getLatestBuildSummary()
getLatestBuildSummary
in interface Buildable
public ResultsSummary getLatestResultsSummary()
ImmutablePlan
getLatestResultsSummary
in interface ImmutablePlan
public BuildResultsSummary getFirstBuildSummary()
getFirstBuildSummary
in interface Buildable
public long getNumberOfBuildSummaries()
public java.util.Collection getBuildLog()
public java.lang.String addBuildLogEntry(java.lang.String entryDescription)
entryDescription
- The entry to addpublic java.lang.String addBuildLogEntry(LogEntry logEntry)
public boolean isMarkedForManualBuild()
public boolean isMarkedForEditBuild()
public void markAsNeedingBuilding(ReasonForBuild reasonForBuild)
public void unmarkBuild()
public ErrorCollection validateBuild()
Plan
validateBuild
in interface Plan
ErrorCollection
with relevent error messagespublic java.util.List getFieldValueItems()
public long getAverageBuildDuration()
ImmutablePlan
getAverageBuildDuration
in interface ImmutablePlan
@Nullable public BuildResults getPreviousBuildResults(int buildNumber)
getPreviousBuildResults
in interface Buildable
@Nullable public BuildResults getNextBuildResults(int buildNumber)
getNextBuildResults
in interface Buildable
public boolean isMarkedForDeletion()
ImmutablePlan
isMarkedForDeletion
in interface ImmutableDeletable
isMarkedForDeletion
in interface ImmutablePlan
public void setMarkedForDeletion(boolean markedForDeletion)
setMarkedForDeletion
in interface Deletable
public void setSuspendedFromBuilding(boolean suspendFromBuilding)
Plan
setSuspendedFromBuilding
in interface Plan
public boolean isSuspendedFromBuilding()
PlanIdentifier
isSuspendedFromBuilding
in interface PlanIdentifier
public void clearBuildLog()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- object we are comparing
public int hashCode()
hashCode
in class java.lang.Object
public BuildResultsSummaryManager getBuildResultsSummaryManager()
public void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
@NotNull public RequirementSet getRequirementSet()
getRequirementSet
in interface Buildable
@NotNull public RequirementSet getEffectiveRequirementSet()
Buildable
RequirementSet
, that is value that is considered when checking which agents and elastic images
can build this Buildable.
getEffectiveRequirementSet
in interface Buildable
Buildable.getRequirementSet()
if ImmutablePlan.hasMaster()
is false, getMaster().getRequirementSet() otherwise.public void setRequirementSet(RequirementSet requirementSet)
setRequirementSet
in interface Buildable
public boolean isBusy()
ImmutablePlan
Plan
"busy". Busy is defined by the plan having a lock held on it. This is done during change
detection, dependency listner and the like
isBusy
in interface ImmutablePlan
public void removeBuildResultSummary(int buildNumber)
removeBuildResultSummary
in interface Buildable
@NotNull public java.util.Map getConfigObjects()
BuildDefinition
getConfigObjects
in interface BuildDefinition
getConfigObjects
in interface PartialBuildDefinition
Map
with a String
as a key and an arbitrary objects as the value.public void setConfigObjects(@NotNull java.util.Map configObjects)
setConfigObjects
in interface BuildDefinition
public void setMaster(Plan master)
Plan
setMaster
in interface Plan
public Chain getMaster()
ImmutablePlan
getMaster
in interface Chain
getMaster
in interface ImmutablePlan
Plan
if one exists.public boolean hasMaster()
hasMaster
in interface ImmutablePlan
@NotNull public java.util.List<TestClass> getTestClasses()
@NotNull public java.lang.String getType()
ImmutablePlan
PlanType
and used in Freemarker.
getType
in interface ImmutablePlan
public boolean hasTests()
ImmutablePlan
TaskDefinition
being used in the plan implement TaskTestResultsSupport
hasTests
in interface ImmutablePlan
@NotNull public java.lang.Boolean isCleanWorkingDirectory()
BuildDefinition
isCleanWorkingDirectory
in interface BuildDefinition
isCleanWorkingDirectory
in interface PartialBuildDefinition
public void setCleanWorkingDirectory(boolean cleanWorkingDirectory)
BuildDefinition
setCleanWorkingDirectory
in interface BuildDefinition
public void setNotificationSet(NotificationSet notificationSet)
setNotificationSet
in interface Chain
@NotNull public ChainStage addNewStage(@NotNull java.lang.String name, @NotNull java.lang.String description, boolean manual)
Chain
addNewStage
in interface Chain
public void addStage(@NotNull ChainStage chainStage)
addStage
in interface Chain
public void removeStage(@NotNull ChainStage chainStage)
removeStage
in interface Chain
public NotificationSet getNotificationSet()
ImmutableChain
getNotificationSet
in interface ImmutableChain
NotificationSet
containing notifications for this plan.@NotNull public java.util.List<ChainStage> getStages()
ImmutableChain
ChainStage
s that have been marked for deletion
getStages
in interface Chain
getStages
in interface ImmutableChain
@NotNull public java.util.List<ChainStage> getAllStages()
ImmutableChain
ChainStage
s that have been marked for deletion
getAllStages
in interface Chain
getAllStages
in interface ImmutableChain
public boolean containsStage(@Nullable java.lang.String stageName)
ImmutableChain
containsStage
in interface ImmutableChain
stageName
- to check for
public int getJobCount()
ImmutableChain
getJobCount
in interface ImmutableChain
@NotNull public BranchSpecificConfiguration getBranchSpecificConfiguration()
BuildDefinition
getBranchSpecificConfiguration
in interface BuildDefinition
getBranchSpecificConfiguration
in interface PartialBuildDefinition
public void setBranchSpecificConfiguration(BranchSpecificConfiguration branchSpecificConfiguration)
setBranchSpecificConfiguration
in interface BuildDefinition
@NotNull public java.util.List<Job> getAllJobs()
ImmutableChain
getAllJobs
in interface Chain
getAllJobs
in interface ImmutableChain
@NotNull public java.util.List<RepositoryDefinition> getEffectiveRepositoryDefinitions()
ImmutableChain
getEffectiveRepositoryDefinitions
in interface ImmutableChain
List
of repositories available to this plan@NotNull public java.util.List<VariableDefinition> getVariables()
ImmutablePlan
VariableDefinition
s bind to this Plan
getVariables
in interface ImmutablePlan
VariableDefinition
@NotNull public java.util.List<VariableDefinition> getEffectiveVariables()
ImmutablePlan
VariableDefinition
s bind to this Plan.
For master Plans this will return the same result as ImmutablePlan.getVariables()
.
Non-master plans will produce the sum of:
- all master's variables which keys do not appear in result of ImmutablePlan.getVariables()
- result of ImmutablePlan.getVariables()
getEffectiveVariables
in interface ImmutablePlan
VariableDefinition
public PlanResultKey getLastResultKey()
ImmutableChain
getLastResultKey
in interface ImmutableChain
public int getFirstBuildNumber()
ImmutablePlan
getFirstBuildNumber
in interface ImmutablePlan
public boolean isMerged()
isMerged
in interface BuildDefinitionForBuild
isMerged
in interface PartialBuildDefinition
public void setMerged(boolean value)
BuildDefinition
setMerged
in interface BuildDefinition
value
- true if mergedpublic boolean isValidValue(@Nullable java.lang.Object validValue)
BuildDefinition
isValidValue
in interface BuildDefinition
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |