Enum DomainSpecification.Result
java.lang.Object
java.lang.Enum<DomainSpecification.Result>
com.cloudbees.plugins.credentials.domains.DomainSpecification.Result
- All Implemented Interfaces:
Serializable
,Comparable<DomainSpecification.Result>
- Enclosing class:
- DomainSpecification
The results of any
DomainRequirement
test against a DomainSpecification
.- Since:
- 1.5
-
Enum Constant Summary
Enum ConstantDescriptionThe specification knows this kind of scope and it is not a match.The specification knows this kind of scope and it is a match, keep checking other specifications.The specification knows this kind of scope and it is a definitive match.The specification does not know this kind of scope, keep checking other specifications for this scope. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returnstrue
if the result definitive, in other words can processing be short-cut.boolean
isMatch()
Returnstrue
if the result a match.static DomainSpecification.Result
Returns the enum constant of this type with the specified name.static DomainSpecification.Result[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
The specification does not know this kind of scope, keep checking other specifications for this scope. -
NEGATIVE
The specification knows this kind of scope and it is not a match. -
PARTIAL
The specification knows this kind of scope and it is a match, keep checking other specifications. -
POSITIVE
The specification knows this kind of scope and it is a definitive match.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
isDefinitive
public boolean isDefinitive()Returnstrue
if the result definitive, in other words can processing be short-cut.- Returns:
true
if the result definitive, in other words can processing be short-cut.
-
isMatch
public boolean isMatch()Returnstrue
if the result a match.- Returns:
true
if the result a match.
-