com.atlassian.bamboo.v2.build.agent.capability
Class RequirementSetImpl
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.v2.build.agent.capability.RequirementSetImpl
- All Implemented Interfaces:
- BambooObject, RequirementSet, java.lang.Cloneable
public class RequirementSetImpl
- extends BambooEntityObject
- implements RequirementSet
Methods inherited from class com.atlassian.core.bean.EntityObject |
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
RequirementSetImpl
public RequirementSetImpl()
getRequirement
public Requirement getRequirement(@NotNull
java.lang.String key)
- Description copied from interface:
RequirementSet
- Get a requirement from the set via the key.
- Specified by:
getRequirement
in interface RequirementSet
- Returns:
getRequirements
@NotNull
public java.util.Set<Requirement> getRequirements()
- Description copied from interface:
RequirementSet
- Get all requirements as a
Set
- Specified by:
getRequirements
in interface RequirementSet
- Returns:
addRequirement
public void addRequirement(@NotNull
Requirement requirement)
- Description copied from interface:
RequirementSet
- Adds a requirement to the set.
- Specified by:
addRequirement
in interface RequirementSet
removeRequirement
public void removeRequirement(@NotNull
java.lang.String key)
- Description copied from interface:
RequirementSet
- Remove the requirement from the set.
- Specified by:
removeRequirement
in interface RequirementSet
getSystemRequirements
@NotNull
public java.util.Set<Requirement> getSystemRequirements(java.lang.String type)
- Description copied from interface:
RequirementSet
- Gets a subset of requirements which are of a particular system type.
e.g. system.builder or system.jdk.
- Specified by:
getSystemRequirements
in interface RequirementSet
- Returns:
setRequirements
public void setRequirements(java.util.Set<Requirement> requirements)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 2010 Atlassian. All Rights Reserved.