public interface OfficeFloorCommandEnvironment
ManagedProcess
.Modifier and Type | Method and Description |
---|---|
void |
addJvmOption(String jvmOption)
Adds a JVM option for the spawned
Process JVM. |
String |
getProperty(String name)
Obtains the environment property value.
|
void |
setProcessName(String processName)
Specifies the
Process name for the ProcessConfiguration . |
void |
setSpawnProcess(boolean isSpawn)
Flags whether to spawn a
Process to run the
OfficeFloorCommand . |
String getProperty(String name)
name
- Name of the property.void setProcessName(String processName)
Process
name for the ProcessConfiguration
.processName
- Process
name for the ProcessConfiguration
.void setSpawnProcess(boolean isSpawn)
Flags whether to spawn a Process
to run the
OfficeFloorCommand
.
Default behaviour is to not spawn a Process
.
isSpawn
- true
to spawn a Process
.void addJvmOption(String jvmOption)
Adds a JVM option for the spawned Process
JVM. The value is
provided as is to the JVM and as such care must be taken to use options
available to the underlying specific JVM.
These values are only utilised if spawning a process - otherwise they are ignored.
jvmOption
- JVM option for the spawned Process
JVM.setSpawnProcess(boolean)
Copyright © 2005–2016. All rights reserved.