|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.n1.util.enum.EnumFactoryImpl
com.sun.n1.util.enumx.EnumFactoryXImpl
com.sun.n1.sps.model.rule.HostStatus.Factory
public static class HostStatus.Factory
Factory for object output type enums. Strongly-typed "get" methods are provided in addition to the default EnumFactory methods.
| Method Summary | |
|---|---|
HostStatus |
get(int value)
Returns the output type associated with the passed int value. |
HostStatus |
get(java.lang.String value)
Returns the app type associated with the passed string value. |
HostStatus[] |
getAll()
Returns the array of all known output type enums. |
| Methods inherited from class com.sun.n1.util.enumx.EnumFactoryXImpl |
|---|
getAllEnumXs, getEnumX, getEnumX |
| Methods inherited from class com.sun.n1.util.enum.EnumFactoryImpl |
|---|
getAllEnums, getEnum, getEnum |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.n1.util.enum.EnumFactory |
|---|
getAllEnums, getEnum, getEnum |
| Method Detail |
|---|
public HostStatus get(java.lang.String value)
throws NoSuchEnumException
value - the string value of the desired output type.
NoSuchEnumException - if no such output type exists.
NoSuchEnumException
public HostStatus get(int value)
throws NoSuchEnumException
value - the int value of the desired app type.
NoSuchEnumException - if no such app type exists.public HostStatus[] getAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||