Interface RequirementDetails
-
- All Superinterfaces:
BambooIdProvider
,ImmutableRequirement
- All Known Implementing Classes:
RequirementDetailsImpl
public interface RequirementDetails extends ImmutableRequirement
Decorated requirement with extra information for view- Since:
- v5.6
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.bamboo.v2.build.requirement.ImmutableRequirement
ImmutableRequirement.MatchType
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Integer
getMatchingAgents()
Number of non-elastic agents that match this requirementInteger
getMatchingEphemeralAgentTemplates()
Number of ephemeral agent templates that match this requirementInteger
getMatchingImages()
Number of elastic images that match this requirement@Nullable String
getOwnerName()
@NotNull String
getRequirementLabel()
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.v2.build.requirement.ImmutableRequirement
getKey, getMatchValue, getOwnerId, getPluginModuleKey, getTypeOfMatch, isReadonly, isRegexMatch
-
-
-
-
Method Detail
-
getRequirementLabel
@NotNull @NotNull String getRequirementLabel()
- Returns:
- User friendly name of the capability that the requirement requires.
-
getOwnerName
@Nullable @Nullable String getOwnerName()
- Returns:
- The name of the task that owns this requirement
-
getMatchingAgents
Integer getMatchingAgents()
Number of non-elastic agents that match this requirement- Returns:
-
getMatchingImages
Integer getMatchingImages()
Number of elastic images that match this requirement- Returns:
-
getMatchingEphemeralAgentTemplates
Integer getMatchingEphemeralAgentTemplates()
Number of ephemeral agent templates that match this requirement- Returns:
-
-