org.ourgrid.mygrid.scheduler.gump
Class MyGridGumpSpecServices

java.lang.Object
  extended by org.ourgrid.mygrid.scheduler.gump.MyGridGumpSpecServices

public class MyGridGumpSpecServices
extends java.lang.Object

This class is responsible for validating a given GumSpec or creating a GuM according to a GumSpec.


Field Summary
static java.lang.String FAKE_GUMP
          A constant used to identify a FakeGridMachineProvider.
 
Constructor Summary
MyGridGumpSpecServices()
           
 
Method Summary
static Gump getGump(PeerSpec gumpSpec)
          Obtains a GridMachineProvider from a URL where it should be published.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FAKE_GUMP

public static final java.lang.String FAKE_GUMP
A constant used to identify a FakeGridMachineProvider.

See Also:
Constant Field Values
Constructor Detail

MyGridGumpSpecServices

public MyGridGumpSpecServices()
Method Detail

getGump

public static Gump getGump(PeerSpec gumpSpec)
Obtains a GridMachineProvider from a URL where it should be published. If it could not obtain a GridMachineProvider, returns null.

Parameters:
gumpSpec - The PeerSpec used to create a GridMachineProvider.
Returns:
the obtained GuMP or null if it could not be created.