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

All Known Implementing Classes:
RequirementSetImpl

public interface RequirementSet


Method Summary
 void addRequirement(Requirement requirement)
          Adds a requirement to the set.
 Requirement getRequirement(java.lang.String key)
          Get a requirement from the set via the key.
 java.util.Set<Requirement> getRequirements()
          Get all requirements as a Set
 java.util.Set<Requirement> getSystemRequirements(java.lang.String type)
          Gets a subset of requirements which are of a particular system type.
 void removeRequirement(java.lang.String key)
          Remove the requirement from the set.
 

Method Detail

getRequirement

Requirement getRequirement(@NotNull
                           java.lang.String key)
Get a requirement from the set via the key.

Parameters:
key -
Returns:

getRequirements

@NotNull
java.util.Set<Requirement> getRequirements()
Get all requirements as a Set

Returns:

addRequirement

void addRequirement(@NotNull
                    Requirement requirement)
Adds a requirement to the set.

Parameters:
requirement -

removeRequirement

void removeRequirement(@NotNull
                       java.lang.String key)
Remove the requirement from the set.

Parameters:
key -

getSystemRequirements

@NotNull
java.util.Set<Requirement> getSystemRequirements(java.lang.String type)
Gets a subset of requirements which are of a particular system type. e.g. system.builder or system.jdk.

Parameters:
type -
Returns:


Copyright © 2010 Atlassian. All Rights Reserved.