|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ReturnParameters>
com.cisco.provisioning.cpe.api.search.ReturnParameters
public enum ReturnParameters
This enum ReturnParameters is used mainly in DeviceSearchType
and NodeSearchType to indicate what parameter should
be included in the result set for the devices search or nodes search.
| Enum Constant Summary | |
|---|---|
ALL
Get all parameters for the matching devices or nodes. |
|
BASIC
When this flag is used in DeviceSearchType
without specifying the DeviceIDPattern parameter, the result will be primary key
which is the DeviceOid
When this flag is used in DeviceSearchType function
with the DeviceIDPattern,
the result is the Key which is the DeviceID subclasses
correspond to the specified DeviceIDPattern. |
|
| Method Summary | |
|---|---|
static ReturnParameters |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ReturnParameters[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ReturnParameters ALL
When this flag is used in DeviceSearchType
to search devices, the data coming back for matching devices
are: primary key which is DeviceOid,
Key which is DeviceID and
the device properties Map but with out leases info.
When this flag is use in NodeSearchType to search for Node,
the data coming back for matching Node are: Key which is Node
and the node properties Map.
RecordSearchResults,
RecordDatapublic static final ReturnParameters BASIC
DeviceSearchType
without specifying the DeviceIDPattern parameter, the result will be primary key
which is the DeviceOid
When this flag is used in DeviceSearchType function
with the DeviceIDPattern,
the result is the Key which is the DeviceID subclasses
correspond to the specified DeviceIDPattern.
| Method Detail |
|---|
public static ReturnParameters[] values()
for (ReturnParameters c : ReturnParameters.values()) System.out.println(c);
public static ReturnParameters valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||