org.ourgrid.deployer
Class DeployerRunnable
java.lang.Object
org.ourgrid.deployer.DeployerRunnable
- All Implemented Interfaces:
- java.lang.Runnable
public class DeployerRunnable
- extends java.lang.Object
- implements java.lang.Runnable
The deployer Thread. It is responsible for initializing, installing,
testing... User Agents.
Method Summary |
static java.lang.String |
getUADirName(java.lang.String gumName)
Compose user agent installation directory with the GuM name |
void |
run()
The Thread behavior - it will execute the deployer command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
flagMachine
public static final java.lang.String flagMachine
- See Also:
- Constant Field Values
flagLocalFile
public static final java.lang.String flagLocalFile
- See Also:
- Constant Field Values
flagRemoteFile
public static final java.lang.String flagRemoteFile
- See Also:
- Constant Field Values
flagCommand
public static final java.lang.String flagCommand
- See Also:
- Constant Field Values
DeployerRunnable
public DeployerRunnable(java.lang.String uaadminCommand,
GumSpec currentGuMSpec)
- Constructor.
- Parameters:
uaadminCommand
- The command the Thread will execute.currentGuMSpec
- The GuMSpec.
run
public void run()
- The Thread behavior - it will execute the deployer command.
- Specified by:
run
in interface java.lang.Runnable
getUADirName
public static java.lang.String getUADirName(java.lang.String gumName)
- Compose user agent installation directory with the GuM name
- Parameters:
gumName
- The remote GuM name
- Returns:
- A String with a USER AGENT INSTALLATION directory complete path.