public class EnumFactory
extends java.lang.Object
Constructor | Description |
---|---|
EnumFactory() |
Modifier and Type | Method | Description |
---|---|---|
static java.lang.Boolean |
CfgFlag2Boolean(CfgFlag flag) |
|
static <T extends java.lang.Enum<T>> |
getEnumValue(java.lang.String classFullName,
java.lang.String value) |
Returns the enumeration value described by the String 'value' parameter.
|
static GEnum |
getGEnumValue(java.lang.String classFullName,
java.lang.String value) |
Returns the GEnum value described by the String 'value' parameter.
|
public static GEnum getGEnumValue(java.lang.String classFullName, java.lang.String value) throws java.lang.ClassNotFoundException
classFullName
- the full name of the enumeration classvalue
- the String
representation of the enumeration valuejava.lang.ClassNotFoundException
- if the class specified by the classFullName
parameter doesn't exist in the class pathpublic static <T extends java.lang.Enum<T>> T getEnumValue(java.lang.String classFullName, java.lang.String value) throws java.lang.ClassNotFoundException
T
- the type of the enumerationclassFullName
- the full name of the enumeration classvalue
- the String
representation of the enumeration valuejava.lang.ClassNotFoundException
- if the class specified by the classFullName
parameter doesn't exist in the class pathpublic static java.lang.Boolean CfgFlag2Boolean(CfgFlag flag)
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.