|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<RequirementType>
jetbrains.buildServer.requirements.RequirementType
public enum RequirementType
| Field Summary | |
|---|---|
static java.util.List<RequirementType> |
ALL_REQUIREMENT_TYPES
|
| Method Summary | |
|---|---|
static RequirementType |
findByName(java.lang.String name)
|
java.lang.String |
getDisplayName()
|
java.lang.String |
getName()
|
boolean |
isActualValueCanBeEmpty()
Return true if not empty value of actual property value is required |
boolean |
isActualValueRequired()
Return true if actual property value is required |
boolean |
isParameterCanBeEmpty()
Return true if not empty value is required for requirement parameter |
boolean |
isParameterRequired()
Return true if requirement parameter is required |
boolean |
match(Requirement requirement,
java.util.Map<java.lang.String,java.lang.String> properties,
boolean ignoreCaseForEnv)
|
abstract boolean |
matchValues(java.lang.String requirementParameter,
java.lang.String actualValue)
|
Requirement |
readFrom(org.jdom.Element xmlElement)
|
protected Requirement |
readInternal(java.lang.String propName,
java.lang.String propValue)
|
static RequirementType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static RequirementType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
void |
writeTo(org.jdom.Element xmlElement,
Requirement requirementParameter)
|
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final RequirementType EXISTS
public static final RequirementType NOT_EXISTS
public static final RequirementType EQUALS
public static final RequirementType DOES_NOT_EQUAL
public static final RequirementType MORE_THAN
public static final RequirementType NO_MORE_THAN
public static final RequirementType LESS_THAN
public static final RequirementType NO_LESS_THAN
public static final RequirementType STARTS_WITH
public static final RequirementType CONTAINS
public static final RequirementType DOES_NOT_CONTAIN
public static final RequirementType ENDS_WITH
public static final RequirementType MATCHES
public static final RequirementType DOES_NOT_MATCH
public static final RequirementType VER_MORE_THAN
public static final RequirementType VER_NO_MORE_THAN
public static final RequirementType VER_LESS_THAN
public static final RequirementType VER_NO_LESS_THAN
public static final RequirementType ANY
| Field Detail |
|---|
public static final java.util.List<RequirementType> ALL_REQUIREMENT_TYPES
| Method Detail |
|---|
public static RequirementType[] values()
for (RequirementType c : RequirementType.values()) System.out.println(c);
public static RequirementType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getDisplayName()
public final java.lang.String getName()
@Nullable public Requirement readFrom(org.jdom.Element xmlElement)
public void writeTo(org.jdom.Element xmlElement,
Requirement requirementParameter)
@Nullable public static RequirementType findByName(java.lang.String name)
protected Requirement readInternal(java.lang.String propName,
java.lang.String propValue)
public boolean isParameterRequired()
public boolean isParameterCanBeEmpty()
public boolean isActualValueRequired()
public boolean isActualValueCanBeEmpty()
public abstract boolean matchValues(java.lang.String requirementParameter,
java.lang.String actualValue)
public boolean match(Requirement requirement,
java.util.Map<java.lang.String,java.lang.String> properties,
boolean ignoreCaseForEnv)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||