public static enum Parameters.SegmentationType extends Enum<Parameters.SegmentationType>
| Enum Constant and Description |
|---|
ASNEEDED
Only use segments if we have more than one segment in the
translation.
|
NOTSEGMENTED
Never use segmentation in the output.
|
ORIGINAL
Use segmented target if the original trans-unit was segmented.
|
SEGMENTED
Always use segmented target regardless of the original trans-unit.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<Parameters.SegmentationType> |
byValue(int value) |
int |
getValue() |
static Parameters.SegmentationType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Parameters.SegmentationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Parameters.SegmentationType ORIGINAL
public static final Parameters.SegmentationType SEGMENTED
public static final Parameters.SegmentationType NOTSEGMENTED
public static final Parameters.SegmentationType ASNEEDED
public static Parameters.SegmentationType[] values()
for (Parameters.SegmentationType c : Parameters.SegmentationType.values()) System.out.println(c);
public static Parameters.SegmentationType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
public static Optional<Parameters.SegmentationType> byValue(int value)
Copyright © 2021. All rights reserved.