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

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.agent.capability.AbstractDecoratedCapabilityRequirement
      extended by com.atlassian.bamboo.v2.build.agent.capability.RequirementDecorator
All Implemented Interfaces:
DecoratedCapabilityRequirement, java.lang.Comparable<DecoratedCapabilityRequirement>

public class RequirementDecorator
extends AbstractDecoratedCapabilityRequirement

UI only helper class for the Capability object


Field Summary
static java.lang.String EQUALS
           
static java.lang.String EXISTS
           
static java.lang.String REGEX
           
 
Fields inherited from class com.atlassian.bamboo.v2.build.agent.capability.AbstractDecoratedCapabilityRequirement
capabilityGroup, capabilityType, id, key, textProvider, value
 
Constructor Summary
RequirementDecorator(Requirement requirement, CapabilityType capabilityType, com.opensymphony.xwork.TextProvider textProvider, CapabilityGroup capabilityGroup, Buildable build)
           
 
Method Summary
 Buildable getBuild()
           
 java.lang.String getMatchType()
           
 java.lang.String getMatchValue()
           
 java.lang.String getPluginModuleKey()
           
 boolean isReadonly()
           
 
Methods inherited from class com.atlassian.bamboo.v2.build.agent.capability.AbstractDecoratedCapabilityRequirement
compareTo, equals, getCapabilityGroup, getExtraInfo, getId, getKey, getLabel, getValue, getValueDescription, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

EXISTS

public static final java.lang.String EXISTS
See Also:
Constant Field Values

EQUALS

public static final java.lang.String EQUALS
See Also:
Constant Field Values

REGEX

public static final java.lang.String REGEX
See Also:
Constant Field Values
Constructor Detail

RequirementDecorator

public RequirementDecorator(@NotNull
                            Requirement requirement,
                            @NotNull
                            CapabilityType capabilityType,
                            @NotNull
                            com.opensymphony.xwork.TextProvider textProvider,
                            @NotNull
                            CapabilityGroup capabilityGroup,
                            @Nullable
                            Buildable build)
Method Detail

getMatchType

public java.lang.String getMatchType()

getMatchValue

@Nullable
public java.lang.String getMatchValue()

isReadonly

public boolean isReadonly()

getBuild

@Nullable
public Buildable getBuild()

getPluginModuleKey

public java.lang.String getPluginModuleKey()


Copyright © 2011 Atlassian. All Rights Reserved.