com.atlassian.bamboo.v2.build.agent.capability
Class CapabilityRequirementSetDecorator

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.agent.capability.CapabilityRequirementSetDecorator

public class CapabilityRequirementSetDecorator
extends java.lang.Object

UI only class responsible for rendering the Capabilitys and CapabilitySet


Constructor Summary
CapabilityRequirementSetDecorator(java.util.Collection<Capability> capabilities, ReadOnlyCapabilitySet parentCapabilitySet, com.opensymphony.xwork.TextProvider textProvider, CapabilityHelper capabilityHelper)
           
CapabilityRequirementSetDecorator(java.util.Collection<Requirement> requirements, com.opensymphony.xwork.TextProvider textProvider, CapabilityHelper capabilityHelper)
           
CapabilityRequirementSetDecorator(ImmutableBuildable buildable, java.util.Collection<Requirement> requirements, com.opensymphony.xwork.TextProvider textProvider, CapabilityHelper capabilityHelper, TaskManager taskManager)
           
CapabilityRequirementSetDecorator(ImmutableBuildable buildable, RequirementSet requirementSet, com.opensymphony.xwork.TextProvider textProvider, CapabilityHelper capabilityHelper, TaskManager taskManager)
           
CapabilityRequirementSetDecorator(java.util.List<RequirementPlanMapping> requirementPlanMappings, com.opensymphony.xwork.TextProvider textProvider, CapabilityHelper capabilityHelper)
           
CapabilityRequirementSetDecorator(ReadOnlyCapabilitySet capabilitySet, ReadOnlyCapabilitySet parentCapabilitySet, com.opensymphony.xwork.TextProvider textProvider, CapabilityHelper capabilityHelper)
           
 
Method Summary
 java.util.List<DecoratedCapabilityRequirement> getDecoratedObjects()
           
 com.google.common.collect.Multimap<RequirementDecorator,java.lang.String> getDecoratedObjectsByRequirement()
           
 com.google.common.collect.Multimap<java.lang.String,RequirementDecorator> getDecoratedObjectsByTask()
           
 java.util.Collection<CapabilityGroup> getGroups()
           
 java.lang.String getPrettyLabel(java.lang.String label)
           
 java.lang.String getTaskNumber(java.lang.String label)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CapabilityRequirementSetDecorator

public CapabilityRequirementSetDecorator(@NotNull
                                         ReadOnlyCapabilitySet capabilitySet,
                                         @Nullable
                                         ReadOnlyCapabilitySet parentCapabilitySet,
                                         @NotNull
                                         com.opensymphony.xwork.TextProvider textProvider,
                                         @NotNull
                                         CapabilityHelper capabilityHelper)

CapabilityRequirementSetDecorator

public CapabilityRequirementSetDecorator(@NotNull
                                         java.util.Collection<Capability> capabilities,
                                         @Nullable
                                         ReadOnlyCapabilitySet parentCapabilitySet,
                                         @NotNull
                                         com.opensymphony.xwork.TextProvider textProvider,
                                         @NotNull
                                         CapabilityHelper capabilityHelper)

CapabilityRequirementSetDecorator

public CapabilityRequirementSetDecorator(@NotNull
                                         ImmutableBuildable buildable,
                                         @NotNull
                                         RequirementSet requirementSet,
                                         @NotNull
                                         com.opensymphony.xwork.TextProvider textProvider,
                                         @NotNull
                                         CapabilityHelper capabilityHelper,
                                         @NotNull
                                         TaskManager taskManager)

CapabilityRequirementSetDecorator

public CapabilityRequirementSetDecorator(@NotNull
                                         java.util.Collection<Requirement> requirements,
                                         @NotNull
                                         com.opensymphony.xwork.TextProvider textProvider,
                                         @NotNull
                                         CapabilityHelper capabilityHelper)

CapabilityRequirementSetDecorator

public CapabilityRequirementSetDecorator(@NotNull
                                         ImmutableBuildable buildable,
                                         @NotNull
                                         java.util.Collection<Requirement> requirements,
                                         @NotNull
                                         com.opensymphony.xwork.TextProvider textProvider,
                                         @NotNull
                                         CapabilityHelper capabilityHelper,
                                         @NotNull
                                         TaskManager taskManager)

CapabilityRequirementSetDecorator

public CapabilityRequirementSetDecorator(@NotNull
                                         java.util.List<RequirementPlanMapping> requirementPlanMappings,
                                         @NotNull
                                         com.opensymphony.xwork.TextProvider textProvider,
                                         @NotNull
                                         CapabilityHelper capabilityHelper)
Method Detail

getGroups

public java.util.Collection<CapabilityGroup> getGroups()

getDecoratedObjects

@NotNull
public java.util.List<DecoratedCapabilityRequirement> getDecoratedObjects()

getDecoratedObjectsByTask

public com.google.common.collect.Multimap<java.lang.String,RequirementDecorator> getDecoratedObjectsByTask()

getDecoratedObjectsByRequirement

public com.google.common.collect.Multimap<RequirementDecorator,java.lang.String> getDecoratedObjectsByRequirement()

getPrettyLabel

public java.lang.String getPrettyLabel(java.lang.String label)

getTaskNumber

public java.lang.String getTaskNumber(java.lang.String label)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.