public class Status extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
INTERNAL_ERROR |
static int |
OPERATION_OK |
static int |
RESULT_FALSE |
static int |
RESULT_TRUE |
static int |
SERVER_ERROR |
| Constructor and Description |
|---|
Status(int status,
int result) |
| Modifier and Type | Method and Description |
|---|---|
String |
getInfo()
A string representation of the result of the operation (for example the XACML string of a policy)
|
int |
getResult()
The result can be
0 = TRUE
1 = FALSE
|
int |
getStatus()
the status can be:
0 = OK
1 = SERVER ERROR
2 = INTERNAL ERROR
|
void |
setInfo(String info) |
String |
toString() |
public static final int OPERATION_OK
public static final int SERVER_ERROR
public static final int INTERNAL_ERROR
public static final int RESULT_TRUE
public static final int RESULT_FALSE
public int getStatus()
public int getResult()
public String getInfo()
public void setInfo(String info)
Copyright © 2016. All Rights Reserved.