public static enum CloneCommand.MaskMode extends Enum<CloneCommand.MaskMode>
Modifier and Type | Method and Description |
---|---|
static CloneCommand.MaskMode |
fromCommandName(String commandName)
Returns the MaskMode with a given subcommand name, or null if none match.
|
String |
getCommandName() |
static CloneCommand.MaskMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloneCommand.MaskMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloneCommand.MaskMode REPLACE
public static final CloneCommand.MaskMode MASKED
public static final CloneCommand.MaskMode FILTERED
public static CloneCommand.MaskMode[] values()
for (CloneCommand.MaskMode c : CloneCommand.MaskMode.values()) System.out.println(c);
public static CloneCommand.MaskMode 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 CloneCommand.MaskMode fromCommandName(String commandName)
commandName
- the subcommand name to look up.public String getCommandName()
Copyright © 2021. All rights reserved.