public enum CommandLineWrapper extends Enum<CommandLineWrapper>
Modifier and Type | Class and Description |
---|---|
static class |
CommandLineWrapper.SedBuilder
Wrapper around sed used for processing text.
|
static class |
CommandLineWrapper.TarBuilder
Wrapper around tar used for extracting .tar archives.
|
static class |
CommandLineWrapper.WGetBuilder
Wrapper around wget used for downloading files.
|
Modifier and Type | Method and Description |
---|---|
static CommandLineWrapper.SedBuilder |
sed(String command,
Path file) |
static CommandLineWrapper.TarBuilder |
tar(Path file) |
static CommandLineWrapper |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandLineWrapper[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static CommandLineWrapper.WGetBuilder |
wget(String url) |
public static CommandLineWrapper[] values()
for (CommandLineWrapper c : CommandLineWrapper.values()) System.out.println(c);
public static CommandLineWrapper 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 CommandLineWrapper.WGetBuilder wget(String url)
public static CommandLineWrapper.SedBuilder sed(String command, Path file)
public static CommandLineWrapper.TarBuilder tar(Path file)
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.