public enum InstallerCommand extends Enum<InstallerCommand>
Enum Constant and Description |
---|
CONSOLE |
INSTALL |
INSTALL_NT_SERVICE |
START |
STATUS |
STOP |
UNINSTALL_NT_SERVICE |
Modifier and Type | Method and Description |
---|---|
static InstallerCommand |
getCommand(String commandString) |
String |
getCommandString() |
static InstallerCommand |
getDefault() |
String |
getWindowsExecutable() |
boolean |
isAllowSecurityToken() |
static boolean |
isCommandStringLegal(String commandString) |
static InstallerCommand |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstallerCommand[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstallerCommand CONSOLE
public static final InstallerCommand INSTALL
public static final InstallerCommand START
public static final InstallerCommand STOP
public static final InstallerCommand INSTALL_NT_SERVICE
public static final InstallerCommand UNINSTALL_NT_SERVICE
public static final InstallerCommand STATUS
public static InstallerCommand[] values()
for (InstallerCommand c : InstallerCommand.values()) System.out.println(c);
public static InstallerCommand 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 String getCommandString()
public String getWindowsExecutable()
public boolean isAllowSecurityToken()
public static boolean isCommandStringLegal(String commandString)
public static InstallerCommand getCommand(String commandString)
public static InstallerCommand getDefault()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.