Platform SDK Java 8.5 API Reference

com.genesyslab.platform.apptemplate.configuration.log
Enum TargetType

java.lang.Object
  extended by java.lang.Enum<TargetType>
      extended by com.genesyslab.platform.apptemplate.configuration.log.TargetType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<TargetType>

public enum TargetType
extends java.lang.Enum<TargetType>

Enumeration of logging target types, which are supported by PSDK AppTemplate Application Block.
It reflects possible values in the "Log Output Options": "all", "debug", "trace", "interaction", "standard", and "alarm".


Enum Constant Summary
FILELOGGER
          Plain log file output target type.
This target type is described with separate structure to handle log file name - GFileTargetDescriptor.
MEMORY
          Memory mapped output log file target.
This type is not supported by Platform SDK for Java.
MESSAGESERVER
          Message Server output target type.
STDERR
          Console "stderr" output target type.
STDOUT
          Console "stdout" output target type.
 
Method Summary
static TargetType valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static TargetType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

STDOUT

public static final TargetType STDOUT
Console "stdout" output target type.


STDERR

public static final TargetType STDERR
Console "stderr" output target type.


FILELOGGER

public static final TargetType FILELOGGER
Plain log file output target type.
This target type is described with separate structure to handle log file name - GFileTargetDescriptor.


MESSAGESERVER

public static final TargetType MESSAGESERVER
Message Server output target type.


MEMORY

public static final TargetType MEMORY
Memory mapped output log file target.
This type is not supported by Platform SDK for Java.

Method Detail

values

public static TargetType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (TargetType c : TargetType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static TargetType valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is 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.