public class ChocoInstaller
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
BIN_DIR
The directory that holds the EXECUTABLE.
|
static java.nio.file.Path |
DEFAULT_INSTALL_LOCATION
The default installation location of chocolatey application.
|
static java.lang.String |
EXECUTABLE
The choco executor file nanme.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<java.lang.String> |
getCommand()
The command the and parameters that will install the chocolatey application.
|
static void |
install()
The method that will actually install the chocolatey application.
|
public static final java.lang.String EXECUTABLE
public static final java.lang.String BIN_DIR
public static final java.nio.file.Path DEFAULT_INSTALL_LOCATION
public java.util.List<java.lang.String> getCommand()
public static void install()
throws ChocoInstallException
ChocoInstallException - An instance thrown if the installation failed.