org.ourgrid.deployer
Class DeployerRunnable

java.lang.Object
  extended by 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.


Field Summary
static java.lang.String flagCommand
           
static java.lang.String flagLocalFile
           
static java.lang.String flagMachine
           
static java.lang.String flagRemoteFile
           
 
Constructor Summary
DeployerRunnable(java.lang.String uaadminCommand, GumSpec currentGuMSpec)
          Constructor.
 
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
 

Field Detail

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
Constructor Detail

DeployerRunnable

public DeployerRunnable(java.lang.String uaadminCommand,
                        GumSpec currentGuMSpec)
Constructor.

Parameters:
uaadminCommand - The command the Thread will execute.
currentGuMSpec - The GuMSpec.
Method Detail

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.