public interface Requirement extends BambooObject, ImmutableRequirement
ImmutableRequirement.MatchType
Modifier and Type | Field and Description |
---|---|
static String |
EQUALS |
static String |
EXISTS |
static String |
REGEX |
Modifier and Type | Method and Description |
---|---|
boolean |
belongsToPlugin() |
String |
getMatchType()
Deprecated.
since 5.6 use
ImmutableRequirement.getTypeOfMatch() instead |
RequirementSet |
getRequirementSet() |
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(String key) |
void |
setOwnerId(long uniqueIdentifier) |
void |
setPluginModuleKey(String pluginModuleKey) |
void |
setReadonly(Boolean readonly) |
void |
setRequirementSet(RequirementSet requirementSet) |
setId
getKey, getMatchValue, getOwnerId, getPluginModuleKey, getTypeOfMatch, isReadonly
getId
static final String EXISTS
static final String EQUALS
static final String REGEX
void setKey(String key)
boolean isRegexMatch()
isRegexMatch
in interface ImmutableRequirement
boolean isSystemRequirement()
void setReadonly(Boolean readonly)
void setPluginModuleKey(String pluginModuleKey)
void setOwnerId(long uniqueIdentifier)
boolean belongsToPlugin()
Requirement
belongs to a plugin@Nullable RequirementSet getRequirementSet()
Requirement
is linked tovoid setRequirementSet(RequirementSet requirementSet)
@Deprecated String getMatchType()
ImmutableRequirement.getTypeOfMatch()
insteadCopyright © 2021 Atlassian Software Systems Pty Ltd. All rights reserved.