org.ourgrid.deployer
Class Deployer

java.lang.Object
  extended by org.ourgrid.deployer.Deployer

public class Deployer
extends java.lang.Object


Field Summary
static java.lang.String UASCONF_DIR
          directory where UA.properties files will be stored
 
Constructor Summary
Deployer(java.lang.String siteDescriptionFile)
          Creates a Deployer object that uses the gums described in the SDF file
 
Method Summary
static boolean gumIsUserAgent(GumSpec currentGuMSpec)
          Verifies whether the specified GuM is a User Agent public static boolean gumIsUserAgent(GuMSpec currentGuMSpec) {
static void main(java.lang.String[] args)
          Main.
static boolean uaHasMandatoryAttributes(GumSpec currentGuMSpec)
          Verifies whether the gum spec has the attributes that are mandatory to use uaadmin.
static boolean uaIsAutoInstallable(GumSpec currentGuMSpec)
          Verifies whether it is possible to install User Agent through deployer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UASCONF_DIR

public static final java.lang.String UASCONF_DIR
directory where UA.properties files will be stored

See Also:
Constant Field Values
Constructor Detail

Deployer

public Deployer(java.lang.String siteDescriptionFile)
         throws CompilerException
Creates a Deployer object that uses the gums described in the SDF file

Parameters:
siteDescriptionFile - The SDF path
Throws:
CompilerException - If any error occurs during SDF compilation
Method Detail

main

public static void main(java.lang.String[] args)
Main.

Parameters:
args - First argument is the command to execute and the second is GDF path

gumIsUserAgent

public static boolean gumIsUserAgent(GumSpec currentGuMSpec)
Verifies whether the specified GuM is a User Agent public static boolean gumIsUserAgent(GuMSpec currentGuMSpec) {

Parameters:
currentGuMSpec - The remote Gum specification
Returns:
true if the GuM is a User Agent, false otherwise.

uaIsAutoInstallable

public static boolean uaIsAutoInstallable(GumSpec currentGuMSpec)
Verifies whether it is possible to install User Agent through deployer.

Parameters:
currentGuMSpec - The remote Gum specification
Returns:
true if it is possible to automatically install, false otherwise.

uaHasMandatoryAttributes

public static boolean uaHasMandatoryAttributes(GumSpec currentGuMSpec)
Verifies whether the gum spec has the attributes that are mandatory to use uaadmin.

Parameters:
currentGuMSpec - The remote Gum specification
Returns:
true if the gum has the mandatory attributes, false otherwise.