java.io.Serializable
public final class SegmentationConfig
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class | Description |
---|---|---|
static class |
SegmentationConfig.SegmentationStrategy |
Describes type of segmentation.
|
Modifier and Type | Field | Description |
---|---|---|
static SegmentationConfig |
DEFAULT_SEGMENTATION |
|
static SegmentationConfig |
NO_SEGMENTATION |
Constructor | Description |
---|---|
SegmentationConfig(SegmentationConfig.SegmentationStrategy theStrategy,
int theSegment) |
Constructor.
|
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object obj) |
|
int |
getSegment() |
Numeric value which meaning depends on the value of
getStrategy() . |
SegmentationConfig.SegmentationStrategy |
getStrategy() |
Describes the type of segmentation used.
|
int |
hashCode() |
|
static SegmentationConfig |
parse(java.lang.String optionVal,
ILogger logger) |
Parses string option value in format of the segmentation option
LogOptionsDescriptions.SEGMENT_OPT . |
java.lang.String |
toString() |
Returns readable string representation of the Segmentation option value.
|
public static final SegmentationConfig NO_SEGMENTATION
public static final SegmentationConfig DEFAULT_SEGMENTATION
public SegmentationConfig(SegmentationConfig.SegmentationStrategy theStrategy, int theSegment)
theStrategy
- the value for getStrategy()
.theSegment
- the value for getSegment()
.public SegmentationConfig.SegmentationStrategy getStrategy()
public int getSegment()
getStrategy()
.public static SegmentationConfig parse(java.lang.String optionVal, ILogger logger)
LogOptionsDescriptions.SEGMENT_OPT
.optionVal
- the option value for parsing.logger
- optional "status" logger for parsing errors printing.LogOptionsDescriptions.SEGMENT_OPT
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.