public class GFLauncherInfo extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addArgs(String... args)
Add the string arguments in the order given.
|
void |
addSecurityToken(String name,
String value)
Adds the given name value pair as a security token.
|
List<com.sun.enterprise.util.HostAndPort> |
getAdminAddresses() |
Map<String,String> |
getArgs() |
List<String> |
getArgsAsList() |
String[] |
getArgsAsStringArray()
TEMPORARY.
|
File |
getConfigDir() |
File |
getConfigFile() |
String |
getDomainName() |
File |
getDomainRootDir() |
String |
getInstanceName() |
File |
getInstanceRootDir() |
org.glassfish.api.admin.RuntimeType |
getType() |
boolean |
isDebug() |
boolean |
isDomain() |
boolean |
isDropInterruptedCommands() |
boolean |
isInstance() |
boolean |
isUpgrade() |
boolean |
isVerbose() |
boolean |
isWatchdog() |
void |
setDebug(boolean b)
Starts the server in debug mode
|
void |
setDomainName(String domainName)
Set the (optional) domain name.
|
void |
setDomainParentDir(String domainParentName)
Set the (optional) domain parent directory.
|
void |
setDomainRootDir(File f) |
void |
setDropInterruptedCommands(boolean dropInterruptedCommands) |
void |
setInstanceName(String name) |
void |
setInstanceRootDir(File f) |
void |
setRespawnInfo(String classname,
String classpath,
String[] args) |
void |
setUpgrade(boolean b)
Starts the server in upgrade mode
|
void |
setVerbose(boolean b)
Starts the server in verbose mode
|
void |
setWatchdog(boolean b)
Starts the server in watchdog mode.
|
public void addArgs(String... args)
args - The string argumentspublic void setDomainName(String domainName)
domainName - public void setDomainParentDir(String domainParentName)
domainParentName - The parent directory of the domainpublic void setVerbose(boolean b)
b - public void setWatchdog(boolean b)
b - public void setDebug(boolean b)
b - public void setUpgrade(boolean b)
b - public void setDomainRootDir(File f)
public void setInstanceName(String name)
public void setInstanceRootDir(File f)
public void setDropInterruptedCommands(boolean dropInterruptedCommands)
public final boolean isDomain()
public final boolean isInstance()
public boolean isVerbose()
public boolean isWatchdog()
public boolean isDebug()
public boolean isUpgrade()
public String getDomainName()
public File getConfigFile()
public File getDomainRootDir()
public String getInstanceName()
public List<com.sun.enterprise.util.HostAndPort> getAdminAddresses()
public org.glassfish.api.admin.RuntimeType getType()
public File getConfigDir()
public File getInstanceRootDir() throws GFLauncherException
GFLauncherExceptionpublic boolean isDropInterruptedCommands()
public String[] getArgsAsStringArray() throws GFLauncherException
GFLauncherExceptionpublic List<String> getArgsAsList() throws GFLauncherException
GFLauncherExceptionpublic Map<String,String> getArgs() throws GFLauncherException
GFLauncherExceptionpublic void addSecurityToken(String name, String value)
name - String representing name of the tokenvalue - String representing the value (should we call it a password?)NullPointerException - if any of the parameters are nullCopyright © 2014. All rights reserved.