public class AuthorizationResult
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static AuthorizationResult |
ABSTAIN |
static AuthorizationResult |
GRANTED |
| Modifier | Constructor and Description |
|---|---|
protected |
AuthorizationResult() |
protected |
AuthorizationResult(StatusCode errorCode,
java.lang.String message) |
| Modifier and Type | Method and Description |
|---|---|
PermissionDeniedException |
asException() |
<T> |
asFuture() |
static AuthorizationResult |
createAbstain() |
static AuthorizationResult |
createGranted() |
static AuthorizationResult |
createReject(StatusCode statusCode,
java.lang.String message) |
static AuthorizationResult |
createReject(java.lang.Throwable error) |
StatusCode |
getErrorCode() |
java.lang.String |
getMessage() |
boolean |
isGranted() |
java.lang.String |
toString() |
public static final AuthorizationResult GRANTED
public static final AuthorizationResult ABSTAIN
protected AuthorizationResult()
protected AuthorizationResult(StatusCode errorCode,
java.lang.String message)
public static AuthorizationResult createGranted()
public static AuthorizationResult createAbstain()
public static AuthorizationResult createReject(StatusCode statusCode, java.lang.String message)
public static AuthorizationResult createReject(java.lang.Throwable error)
public boolean isGranted()
public StatusCode getErrorCode()
public java.lang.String getMessage()
public <T>asFuture()
public PermissionDeniedException asException()
public java.lang.String toString()
toString in class java.lang.Object
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0