Class CapabilityRequirementSetDecorator
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.agent.capability.CapabilityRequirementSetDecorator
-
public class CapabilityRequirementSetDecorator extends Object
UI only class responsible for rendering theCapability
s andCapabilitySet
-
-
Constructor Summary
Constructors Constructor Description CapabilityRequirementSetDecorator(@NotNull ImmutableBuildable buildable, @NotNull ImmutableRequirementSet requirementSet, @NotNull com.atlassian.struts.TextProvider textProvider, @NotNull CapabilityHelper capabilityHelper, @NotNull TaskManager taskManager)
CapabilityRequirementSetDecorator(@NotNull ImmutableBuildable buildable, @NotNull Collection<? extends ImmutableRequirement> requirements, @NotNull com.atlassian.struts.TextProvider textProvider, @NotNull CapabilityHelper capabilityHelper, @NotNull TaskManager taskManager)
CapabilityRequirementSetDecorator(@NotNull ReadOnlyCapabilitySet capabilitySet, @Nullable ReadOnlyCapabilitySet parentCapabilitySet, @NotNull com.atlassian.struts.TextProvider textProvider, @NotNull CapabilityHelper capabilityHelper)
CapabilityRequirementSetDecorator(@NotNull Collection<? extends ImmutableRequirement> requirements, @NotNull com.atlassian.struts.TextProvider textProvider, @NotNull CapabilityHelper capabilityHelper)
CapabilityRequirementSetDecorator(@NotNull Collection<Capability> capabilities, @Nullable ReadOnlyCapabilitySet parentCapabilitySet, @NotNull com.atlassian.struts.TextProvider textProvider, @NotNull CapabilityHelper capabilityHelper)
CapabilityRequirementSetDecorator(@NotNull List<? extends RequirementAwareMapping> requirementPlanMappings, @NotNull com.atlassian.struts.TextProvider textProvider, @NotNull CapabilityHelper capabilityHelper)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @NotNull List<DecoratedCapabilityRequirement>
getDecoratedObjects()
com.google.common.collect.Multimap<RequirementDecorator,String>
getDecoratedObjectsByRequirement()
com.google.common.collect.Multimap<String,RequirementDecorator>
getDecoratedObjectsByTask()
Collection<CapabilityGroup>
getGroups()
String
getPrettyLabel(String label)
String
getTaskNumber(String label)
-
-
-
Constructor Detail
-
CapabilityRequirementSetDecorator
public CapabilityRequirementSetDecorator(@NotNull @NotNull ReadOnlyCapabilitySet capabilitySet, @Nullable @Nullable ReadOnlyCapabilitySet parentCapabilitySet, @NotNull @NotNull com.atlassian.struts.TextProvider textProvider, @NotNull @NotNull CapabilityHelper capabilityHelper)
-
CapabilityRequirementSetDecorator
public CapabilityRequirementSetDecorator(@NotNull @NotNull Collection<Capability> capabilities, @Nullable @Nullable ReadOnlyCapabilitySet parentCapabilitySet, @NotNull @NotNull com.atlassian.struts.TextProvider textProvider, @NotNull @NotNull CapabilityHelper capabilityHelper)
-
CapabilityRequirementSetDecorator
public CapabilityRequirementSetDecorator(@NotNull @NotNull ImmutableBuildable buildable, @NotNull @NotNull ImmutableRequirementSet requirementSet, @NotNull @NotNull com.atlassian.struts.TextProvider textProvider, @NotNull @NotNull CapabilityHelper capabilityHelper, @NotNull @NotNull TaskManager taskManager)
-
CapabilityRequirementSetDecorator
public CapabilityRequirementSetDecorator(@NotNull @NotNull Collection<? extends ImmutableRequirement> requirements, @NotNull @NotNull com.atlassian.struts.TextProvider textProvider, @NotNull @NotNull CapabilityHelper capabilityHelper)
-
CapabilityRequirementSetDecorator
public CapabilityRequirementSetDecorator(@NotNull @NotNull ImmutableBuildable buildable, @NotNull @NotNull Collection<? extends ImmutableRequirement> requirements, @NotNull @NotNull com.atlassian.struts.TextProvider textProvider, @NotNull @NotNull CapabilityHelper capabilityHelper, @NotNull @NotNull TaskManager taskManager)
-
CapabilityRequirementSetDecorator
public CapabilityRequirementSetDecorator(@NotNull @NotNull List<? extends RequirementAwareMapping> requirementPlanMappings, @NotNull @NotNull com.atlassian.struts.TextProvider textProvider, @NotNull @NotNull CapabilityHelper capabilityHelper)
-
-
Method Detail
-
getGroups
public Collection<CapabilityGroup> getGroups()
-
getDecoratedObjects
@NotNull public @NotNull List<DecoratedCapabilityRequirement> getDecoratedObjects()
-
getDecoratedObjectsByTask
public com.google.common.collect.Multimap<String,RequirementDecorator> getDecoratedObjectsByTask()
-
getDecoratedObjectsByRequirement
public com.google.common.collect.Multimap<RequirementDecorator,String> getDecoratedObjectsByRequirement()
-
-