com.atlassian.bamboo.v2.build.agent.capability
Interface Requirement

All Superinterfaces:
BambooObject
All Known Implementing Classes:
RequirementImpl

public interface Requirement
extends BambooObject


Method Summary
 java.lang.String getKey()
          Represents the requirement.
 java.lang.String getMatchValue()
          A match requirement value.
 RequirementSet getRequirementSet()
           
 java.lang.Boolean isReadonly()
          If a requirement is readonly, it cannot be removed through the UI (the backend can do what it wants, however)
 boolean isRegexMatch()
          Is this a regex match requirement or exact match requirement.
 boolean isSystemRequirement()
          Is this a system requirement? System requirements are builder/jdk requirements which cannot be removed from the plan.
 void setKey(java.lang.String key)
           
 void setReadonly(java.lang.Boolean readonly)
           
 void setRequirementSet(RequirementSet requirementSet)
           
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
getId, setId
 

Method Detail

getKey

@NotNull
java.lang.String getKey()
Represents the requirement. Must match exactly to the Capability getKey().

Returns:

getMatchValue

@Nullable
java.lang.String getMatchValue()
A match requirement value. The regex must match the Capability value.

Returns:

isRegexMatch

boolean isRegexMatch()
Is this a regex match requirement or exact match requirement.

Returns:

isSystemRequirement

boolean isSystemRequirement()
Is this a system requirement? System requirements are builder/jdk requirements which cannot be removed from the plan.

Returns:

isReadonly

java.lang.Boolean isReadonly()
If a requirement is readonly, it cannot be removed through the UI (the backend can do what it wants, however)

Returns:

setReadonly

void setReadonly(java.lang.Boolean readonly)

getRequirementSet

RequirementSet getRequirementSet()

setRequirementSet

void setRequirementSet(RequirementSet requirementSet)

setKey

void setKey(java.lang.String key)


Copyright © 2011 Atlassian. All Rights Reserved.