Platform SDK Java 8.5 API Reference

com.genesyslab.platform.apptemplate.configuration.log
Class TargetDescriptor

java.lang.Object
  extended by com.genesyslab.platform.apptemplate.configuration.log.TargetDescriptor
Direct Known Subclasses:
GFileTargetDescriptor

public class TargetDescriptor
extends java.lang.Object

Base class for description of a configured logging target.


Constructor Summary
TargetDescriptor(TargetType targetType, VerboseLevel supportedVerboseLevel)
          The target description object constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares types of logging targets.
 VerboseLevel getSupportedVerboseLevel()
          Returns verbose level for the log target.
 TargetType getTargetType()
          Returns logging target type.
 int hashCode()
           
 java.lang.String toString()
          Returns readable string representation of the logging target.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TargetDescriptor

public TargetDescriptor(TargetType targetType,
                        VerboseLevel supportedVerboseLevel)
The target description object constructor.

Parameters:
targetType - the logging target type.
supportedVerboseLevel - the verbose level for the logging target.
Method Detail

getTargetType

public TargetType getTargetType()
Returns logging target type.

Returns:
the target type.

getSupportedVerboseLevel

public VerboseLevel getSupportedVerboseLevel()
Returns verbose level for the log target.

Returns:
the verbose level.

toString

public java.lang.String toString()
Returns readable string representation of the logging target.

Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Compares types of logging targets. It does not take into account logging verbose level - it is required for targets consolidation (normalization) functions.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

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.