Class StandardBootstrapArgumentParser
java.lang.Object
org.apache.nifi.bootstrap.command.io.StandardBootstrapArgumentParser
- All Implemented Interfaces:
BootstrapArgumentParser
Standard implementation of Bootstrap Argument Parser supporting enumerated arguments as the first element in an array
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final char
private static final char
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBootstrapArgument
(String[] arguments) Get Bootstrap Argument from first argument providedprivate String
getFormattedArgument
(String argument)
-
Field Details
-
HYPHEN
private static final char HYPHEN- See Also:
-
UNDERSCORE
private static final char UNDERSCORE- See Also:
-
-
Constructor Details
-
StandardBootstrapArgumentParser
public StandardBootstrapArgumentParser()
-
-
Method Details
-
getBootstrapArgument
Get Bootstrap Argument from first argument provided- Specified by:
getBootstrapArgument
in interfaceBootstrapArgumentParser
- Parameters:
arguments
- Application array of arguments- Returns:
- Bootstrap Argument or empty when not found
-
getFormattedArgument
-