public enum ListCPS extends Enum<ListCPS>
This is an Allocated Service PRIMARY/SECONDARY use type identifier.
Used in Allocation
, ConfigFreq
, Variance
Enum Constant and Description |
---|
OTHER |
PERMITTED |
PRIMARY |
SECONDARY |
Modifier and Type | Method and Description |
---|---|
static ListCPS |
fromName(String allocatedService)
Get a priority by analyzing the allocated service line.
|
static ListCPS |
fromValue(String v) |
String |
value() |
static ListCPS |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListCPS[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListCPS PRIMARY
public static final ListCPS SECONDARY
public static final ListCPS PERMITTED
public static final ListCPS OTHER
public static ListCPS[] values()
for (ListCPS c : ListCPS.values()) System.out.println(c);
public static ListCPS valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String value()
Copyright © 2016 OpenSSRF.org. All rights reserved.