public class BootstrapProperties extends Object
Constructor and Description |
---|
BootstrapProperties()
Create BootstrapProperties with default properties.
|
BootstrapProperties(Properties props)
Create BootstrapProperties with custom properties.
|
Modifier and Type | Method and Description |
---|---|
String |
getInstallRoot()
Get the location installation root set using
setInstallRoot(java.lang.String) |
Properties |
getProperties()
Get the underlying Properties object which backs this BootstrapProperties.
|
String |
getProperty(String key)
Get the value of the property with the specified key.
|
void |
setInstallRoot(String installRoot)
Optionally set the installation root using which the GlassFish should run.
|
void |
setProperty(String key,
String value)
Set any custom bootstrap property.
|
public BootstrapProperties()
public BootstrapProperties(Properties props)
RuntimeBuilder
(if any)props
- Properties object which will back this BootstrapProperties object.public Properties getProperties()
public void setProperty(String key, String value)
RuntimeBuilder
(if any)key
- the key to be placed into this bootstrap properties.value
- the value corresponding to the key.public String getProperty(String key)
key
- the property keypublic void setInstallRoot(String installRoot)
installRoot
- Location of installation root.public String getInstallRoot()
setInstallRoot(java.lang.String)
setInstallRoot(java.lang.String)
Copyright © 2021. All rights reserved.