public class Result extends Object
Result class contains the result of calling the
 isAccessAllowed method on an AccessDecision.
 Instances are ABSTAIN, DENY, and
 PERMIT.| Modifier and Type | Field and Description | 
|---|---|
static Result | 
ABSTAIN
Indicates that the Access Decision can not determine
 whether the request should be permitted or denied. 
 | 
static int | 
ABSTAIN_VALUE  | 
static Result | 
DENY
Indicates that the Access Decision has decided that
 the request should be denied. 
 | 
static int | 
DENY_VALUE  | 
static Result | 
PERMIT
Indicates that the Access Decision has decided that
 the request should be permitted. 
 | 
static int | 
PERMIT_VALUE  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object other)  | 
int | 
getEnumValue()
Returns the enumeration value for this  
Result | 
boolean | 
isAbstain()
Determines if this result indicates an abstain decision 
 | 
boolean | 
isDeny()
Determines if this result indicates a deny decision 
 | 
boolean | 
isPermit()
Determines if this result indicates a permit decision 
 | 
Result | 
narrow()
Converts this Result value to an exact instance of Result and not an instance 
 of any Result derived class, if necessary. 
 | 
String | 
toString()
Returns this  
Result, represented as a String. | 
public static final int ABSTAIN_VALUE
public static final int DENY_VALUE
public static final int PERMIT_VALUE
public static final Result ABSTAIN
public static final Result DENY
public static final Result PERMIT
public String toString()
Result, represented as a String.public int getEnumValue()
ResultResultpublic boolean isAbstain()
public boolean isDeny()
public boolean isPermit()
public Result narrow()
AdjudicationProvider and AdjudicationProviderV2
 can fail if instances of a Result derived class are presented.