|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.core.bean.EntityObject com.atlassian.bamboo.core.BambooEntityObject com.atlassian.bamboo.v2.build.agent.capability.RequirementImpl
public class RequirementImpl
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
id |
Constructor Summary | |
---|---|
RequirementImpl()
|
|
RequirementImpl(Requirement requirement)
|
|
RequirementImpl(java.lang.String key,
boolean regexMatch,
java.lang.String match)
|
|
RequirementImpl(java.lang.String key,
boolean regexMatch,
java.lang.String match,
boolean readonly)
|
Method Summary | |
---|---|
boolean |
belongsToPlugin()
|
int |
compareTo(java.lang.Object obj)
|
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getKey()
Represents the requirement. |
java.lang.String |
getMatchValue()
A match requirement value. |
long |
getOwnerId()
The identifier of this Requirement that is used to identify it uniquely for all Requirement s created by Requirement.getPluginModuleKey() |
java.lang.String |
getPluginModuleKey()
The ModuleDescriptor.getKey() that is responsible for the Lifecycle of this Requirement |
RequirementSet |
getRequirementSet()
|
int |
hashCode()
|
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 |
setMatchValue(java.lang.String matchValue)
|
void |
setOwnerId(long uniqueIdentifier)
|
void |
setPluginModuleKey(java.lang.String pluginModuleKey)
|
void |
setReadonly(java.lang.Boolean readonly)
|
void |
setRegexMatch(java.lang.Boolean regexMatch)
|
void |
setRequirementSet(RequirementSet requirementSet)
|
java.lang.String |
toString()
|
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject |
---|
getId, setId |
Methods inherited from class com.atlassian.core.bean.EntityObject |
---|
clone, getCreationDate, getCurrentDate, getLastModificationDate, setClock, setCreationDate, setLastModificationDate |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.core.BambooObject |
---|
getId, setId |
Constructor Detail |
---|
public RequirementImpl()
public RequirementImpl(java.lang.String key, boolean regexMatch, java.lang.String match)
public RequirementImpl(java.lang.String key, boolean regexMatch, java.lang.String match, boolean readonly)
public RequirementImpl(@NotNull Requirement requirement)
Method Detail |
---|
public boolean isSystemRequirement()
Requirement
isSystemRequirement
in interface Requirement
@NotNull public java.lang.String getKey()
Requirement
Capability
getKey().
getKey
in interface Requirement
public void setKey(java.lang.String key)
setKey
in interface Requirement
public java.lang.String getMatchValue()
Requirement
Capability
value.
getMatchValue
in interface Requirement
public void setMatchValue(java.lang.String matchValue)
public boolean isRegexMatch()
Requirement
isRegexMatch
in interface Requirement
public void setRegexMatch(java.lang.Boolean regexMatch)
public java.lang.Boolean isReadonly()
Requirement
isReadonly
in interface Requirement
public void setReadonly(java.lang.Boolean readonly)
setReadonly
in interface Requirement
public RequirementSet getRequirementSet()
getRequirementSet
in interface Requirement
Requirement
is linked topublic void setRequirementSet(RequirementSet requirementSet)
setRequirementSet
in interface Requirement
public java.lang.String getPluginModuleKey()
Requirement
ModuleDescriptor.getKey()
that is responsible for the Lifecycle of this Requirement
getPluginModuleKey
in interface Requirement
public void setPluginModuleKey(java.lang.String pluginModuleKey)
setPluginModuleKey
in interface Requirement
public long getOwnerId()
Requirement
Requirement
that is used to identify it uniquely for all Requirement
s created by Requirement.getPluginModuleKey()
getOwnerId
in interface Requirement
public void setOwnerId(long uniqueIdentifier)
setOwnerId
in interface Requirement
public boolean belongsToPlugin()
belongsToPlugin
in interface Requirement
Requirement
belongs to a pluginpublic java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class com.atlassian.core.bean.EntityObject
public boolean equals(java.lang.Object o)
equals
in class com.atlassian.core.bean.EntityObject
public int compareTo(java.lang.Object obj)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |