org.ops4j.pax.radman.service.bundleManager.jobs.containerUpgrade
Class ContainerUpgradeJobParam.ExecuteNewProcessInfo

java.lang.Object
  extended by org.ops4j.pax.radman.service.bundleManager.jobs.containerUpgrade.ContainerUpgradeJobParam.ExecuteNewProcessInfo
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ContainerUpgradeJobParam

public static final class ContainerUpgradeJobParam.ExecuteNewProcessInfo
extends java.lang.Object
implements java.io.Serializable

Since:
0.1.0
Author:
Edward Yakop
See Also:
Runtime.exec(String,String[],java.io.File), Serialized Form

Constructor Summary
ContainerUpgradeJobParam.ExecuteNewProcessInfo(java.lang.String aCommand, java.lang.String[] anEnvironment, java.lang.String aWorkingDirectory)
           
 
Method Summary
 java.lang.String getCommand()
          Returns the command to execute.
 java.lang.String[] getEnvironment()
          Returns the environment.
 java.lang.String getWorkingDirectory()
          Returns the working directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContainerUpgradeJobParam.ExecuteNewProcessInfo

public ContainerUpgradeJobParam.ExecuteNewProcessInfo(java.lang.String aCommand,
                                                      java.lang.String[] anEnvironment,
                                                      java.lang.String aWorkingDirectory)
                                               throws java.lang.IllegalArgumentException
Parameters:
aCommand - The command to execute. This argument must not be null.
anEnvironment - The environment. This argument must not be null.
aWorkingDirectory - The absolute path of working directory. This argument must not be null.
Throws:
java.lang.IllegalArgumentException - Thrown if one or some or all arguments are null.
Since:
0.1.0
See Also:
Runtime.exec(String,String[],File)
Method Detail

getCommand

public final java.lang.String getCommand()
Returns the command to execute.

Returns:
The command to execute.
Since:
0.1.0

getEnvironment

public final java.lang.String[] getEnvironment()
Returns the environment.

Returns:
The environment.
Since:
0.1.0

getWorkingDirectory

public final java.lang.String getWorkingDirectory()
Returns the working directory.

Returns:
The working directory.
Since:
0.1.0


Copyright © 2008. All Rights Reserved.