Platform SDK Java 8.5 API Reference

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

java.lang.Object
  extended by com.genesyslab.platform.apptemplate.configuration.log.TargetDescriptor
      extended by com.genesyslab.platform.apptemplate.configuration.log.GFileTargetDescriptor

public class GFileTargetDescriptor
extends TargetDescriptor

Base logging target description extension for file logging target type to support filename property.


Constructor Summary
GFileTargetDescriptor(java.lang.String filename, VerboseLevel supportedVerboseLevel)
          The logfile logging target description constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Compares types and filenames of logging targets.
 java.lang.String getFilename()
          Returns the log file name as it was defined in the log options configuration.
 int hashCode()
           
 java.lang.String toString()
          Returns readable string representation of the logging target.
 
Methods inherited from class com.genesyslab.platform.apptemplate.configuration.log.TargetDescriptor
getSupportedVerboseLevel, getTargetType
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GFileTargetDescriptor

public GFileTargetDescriptor(java.lang.String filename,
                             VerboseLevel supportedVerboseLevel)
The logfile logging target description constructor.

Parameters:
filename - the log file name.
supportedVerboseLevel - the log target verbose level.
Method Detail

getFilename

public java.lang.String getFilename()
Returns the log file name as it was defined in the log options configuration.

Returns:
the log file name.

toString

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

Overrides:
toString in class TargetDescriptor

equals

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

Overrides:
equals in class TargetDescriptor

hashCode

public int hashCode()
Overrides:
hashCode in class TargetDescriptor

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.