Platform SDK Java 8.5 API Reference

com.genesyslab.platform.voice.protocol.tserver
Class ServerRole

java.lang.Object
  extended by com.genesyslab.platform.commons.GEnum
      extended by com.genesyslab.platform.voice.protocol.tserver.ServerRole

public class ServerRole
extends GEnum


Field Summary
static ServerRole Backup
           
static ServerRole Primary
           
 
Fields inherited from class com.genesyslab.platform.commons.GEnum
LOCALE_ENGLISH
 
Method Summary
static ServerRole valueOf(int ordinal)
          Returns enumeration value by given ordinal number.
static ServerRole valueOf(java.lang.String name)
          Returns enumeration value with specified name or null if no such value exists.
static java.util.Collection<ServerRole> values()
          Returns all values of the enumeration.
 
Methods inherited from class com.genesyslab.platform.commons.GEnum
asInteger, enumSize, equals, equals, getEnumMap, getEnumValues, getValue, getValue, getValue, hashCode, name, ordinal, toString, valueOf, valueOf, values, valuesBy
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

Primary

public static final ServerRole Primary

Backup

public static final ServerRole Backup
Method Detail

values

public static java.util.Collection<ServerRole> values()
Returns all values of the enumeration.

Returns:
all enumeration values

valueOf

public static ServerRole valueOf(int ordinal)
Returns enumeration value by given ordinal number.

Parameters:
ordinal - ordinal number of the enumeration value
Returns:
the enumeration value with given ordinal number or null

valueOf

public static ServerRole valueOf(java.lang.String name)
Returns enumeration value with specified name or null if no such value exists.

Parameters:
name - name of value in the enumeration
Returns:
enumeration value with specified name or null

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.