public class CommandLineBuilder extends Object
Constructor and Description |
---|
CommandLineBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
addClassPathEntry(String classPathEntry)
Adds a class path entry to the command line.
|
void |
addCommand(String commandName)
Adds an
OfficeFloorCommand to the command line. |
void |
addInvokeTask(String officeName,
String workName,
String taskName,
String parameterValue)
Adds invoking a
Task . |
void |
addJvmOption(String jvmOption)
Adds a JVM option.
|
void |
addOfficeFloor(String officeFloorLocation)
Adds an
OfficeFloor location to the command line. |
void |
addOfficeFloorProperties(Properties properties)
Adds the
Properties for the OfficeFloor to the command
line. |
void |
addOfficeFloorSource(String officeFloorSourceClassName)
Adds the
OfficeFloorSource class name to the command line. |
void |
addOption(String parameterName,
String value)
Adds an
OfficeFloorCommandParameter to the command line. |
void |
addProcessName(String processName)
Adds the
ManagedProcess name. |
void |
addUploadArtifact(String artifactLocation)
Adds an
UploadArtifact to the command line. |
String[] |
getCommandLine()
Obtains the built command line.
|
public void addUploadArtifact(String artifactLocation)
UploadArtifact
to the command line.artifactLocation
- UploadArtifact
location.public void addClassPathEntry(String classPathEntry)
classPathEntry
- Class path entry.public void addOfficeFloorSource(String officeFloorSourceClassName)
OfficeFloorSource
class name to the command line.officeFloorSourceClassName
- OfficeFloorSource
class name.public void addOfficeFloor(String officeFloorLocation)
OfficeFloor
location to the command line.officeFloorLocation
- OfficeFloor
location.public void addOfficeFloorProperties(Properties properties)
Properties
for the OfficeFloor
to the command
line.properties
- Properties
for the OfficeFloor
.public void addProcessName(String processName)
ManagedProcess
name.processName
- ManagedProcess
name.public void addJvmOption(String jvmOption)
jvmOption
- JVM option.public void addInvokeTask(String officeName, String workName, String taskName, String parameterValue)
Task
.public void addOption(String parameterName, String value)
OfficeFloorCommandParameter
to the command line.parameterName
- Name.value
- Value.public void addCommand(String commandName)
OfficeFloorCommand
to the command line.commandName
- Name of the command.public String[] getCommandLine()
Copyright © 2005–2016. All rights reserved.