public static enum AisPacketTaggingTransformer.Policy extends Enum<AisPacketTaggingTransformer.Policy>
| Enum Constant and Description |
|---|
MERGE_OVERRIDE
Make new tagging as a merge of current and given tagging, overriding duplicate tags already in the current
tagging
|
MERGE_PRESERVE
Make new tagging as a merge of current and given tagging, preserving duplicate tags already in the current
tagging
|
PREPEND_MISSING
Add comment block before current packet with possibly tags not already in the tagging
|
REPLACE
Remove current tagging and add new
|
| Modifier and Type | Method and Description |
|---|---|
static AisPacketTaggingTransformer.Policy |
fromString(String str)
From string policy.
|
static AisPacketTaggingTransformer.Policy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AisPacketTaggingTransformer.Policy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AisPacketTaggingTransformer.Policy PREPEND_MISSING
public static final AisPacketTaggingTransformer.Policy REPLACE
public static final AisPacketTaggingTransformer.Policy MERGE_OVERRIDE
public static final AisPacketTaggingTransformer.Policy MERGE_PRESERVE
public static AisPacketTaggingTransformer.Policy[] values()
for (AisPacketTaggingTransformer.Policy c : AisPacketTaggingTransformer.Policy.values()) System.out.println(c);
public static AisPacketTaggingTransformer.Policy 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 static AisPacketTaggingTransformer.Policy fromString(String str)
str - the strCopyright © 2011–2019 Danish Maritime Authority. All rights reserved.