|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.identity.policy.ValidValues
public class ValidValues
This class ValidValues
provides search results and a error
code indicating if the search was successfully or time limit exceeded or
search limit exceeded.
Field Summary | |
---|---|
static int |
SIZE_LIMIT_EXCEEDED
Code used to indicate that the search was unsuccessful as the size limit exceeded during the search process. |
static int |
SUCCESS
Code used to indicate a successful search |
static int |
TIME_LIMIT_EXCEEDED
Code used to indicate that the search was unsuccessful as the time limit exceeded during the search process. |
Constructor Summary | |
---|---|
ValidValues(int errorCode,
Set results)
Constructs a ValidValues given errorCode
and a set of values |
Method Summary | |
---|---|
int |
getErrorCode()
Returns the error code of search. |
Set |
getSearchResults()
Returns the search results as a set. |
Field Detail |
---|
public static final int SUCCESS
public static final int SIZE_LIMIT_EXCEEDED
public static final int TIME_LIMIT_EXCEEDED
Constructor Detail |
---|
public ValidValues(int errorCode, Set results)
ValidValues
given errorCode
and a set of values
errorCode
- error coderesults
- set of values to be includedValidValues.SUCCESS
,
ValidValues.SIZE_LIMIT_EXCEEDED
,
ValidValues.TIME_LIMIT_EXCEEDED
Method Detail |
---|
public Set getSearchResults()
public int getErrorCode()
SUCCESS
, SIZE_LIMIT_EXCEEDED
and TIME_LIMIT_EXCEEDED
ValidValues.SUCCESS
,
ValidValues.SIZE_LIMIT_EXCEEDED
,
ValidValues.TIME_LIMIT_EXCEEDED
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |