Platform SDK Java 8.5 API Reference

com.genesyslab.platform.logging.configuration
Class SegmentationConfiguration

java.lang.Object
  extended by com.genesyslab.platform.logging.configuration.SegmentationConfiguration

public final class SegmentationConfiguration
extends java.lang.Object

Describes the rule of segmentation of log files.


Constructor Summary
SegmentationConfiguration()
           
SegmentationConfiguration(SegmentationStrategy segmentationType, int numericValue)
          Constructor.
 
Method Summary
 java.lang.Object clone()
          Creates a new object that is a copy of the current instance.
 boolean equals(java.lang.Object obj)
           
 int getSegment()
          Numeric value which meaning depends on the value of SegmentationConfiguration.getStrategy().
 SegmentationStrategy getStrategy()
          Describes the type of segmentation used.
 int hashCode()
           
static SegmentationConfiguration parse(java.lang.String optiovVal, ILogger logger)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SegmentationConfiguration

public SegmentationConfiguration()

SegmentationConfiguration

public SegmentationConfiguration(SegmentationStrategy segmentationType,
                                 int numericValue)
Constructor.

Parameters:
segmentationType - The value for SegmentationConfiguration.getStrategy()
numericValue - The value for SegmentationConfiguration.getSegment()
Method Detail

getSegment

public int getSegment()
Numeric value which meaning depends on the value of SegmentationConfiguration.getStrategy().

Returns:
segment numeric value

getStrategy

public SegmentationStrategy getStrategy()
Describes the type of segmentation used.

Returns:
type of segmentation used

parse

public static SegmentationConfiguration parse(java.lang.String optiovVal,
                                              ILogger logger)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

clone

public java.lang.Object clone()
Creates a new object that is a copy of the current instance.

Overrides:
clone in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
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.