|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgr.uoa.di.madgik.workflow.adaptor.utils.grid.AdaptorGridResources
public class AdaptorGridResources
The Class AdaptorGridResources acts as a container for AttachedGridResource instances that are to be supplied
to an WorkflowGridAdaptor. The resources that are provided must comply to some restrictions. These are:
- There must be exactly one resource of type AttachedGridResource.ResourceType.JDL. In subsequent
versions there will be an option available to submit more JDL files that will be submitted with the "collection"
attribute
- There can be at most 1 resource of type AttachedGridResource.ResourceType.Config
- There must be exactly one resource of type AttachedGridResource.ResourceType.UserProxy
| Field Summary | |
|---|---|
Set<AttachedGridResource> |
Resources
The contained Resources |
| Constructor Summary | |
|---|---|
AdaptorGridResources()
|
|
| Method Summary | |
|---|---|
AttachedGridResource |
GetConfigResource()
Gets the config resource. |
Set<AttachedGridResource> |
GetInDataResources()
Gets the in data resources. |
AttachedGridResource |
GetJDLResource()
Gets the JDL resource. |
Set<AttachedGridResource> |
GetOutDataResources()
Gets the out data resources. |
AttachedGridResource |
GetResource(String ResourceKey)
Retrieves the resource with the provided key |
AttachedGridResource |
GetScopeResource()
|
AttachedGridResource |
GetUserProxyResource()
Gets the user proxy resource. |
boolean |
ResourceExists(String ResourceKey)
Checks if a resource exists. |
void |
StoreResources(Set<AttachedGridResource.ResourceType> ResourcesToStore,
gr.uoa.di.madgik.environment.hint.EnvHintCollection Hints)
Stores the resource in the storage system |
void |
Validate()
Validate that the provided resources are the ones that must be present |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Set<AttachedGridResource> Resources
| Constructor Detail |
|---|
public AdaptorGridResources()
| Method Detail |
|---|
public void Validate()
throws WorkflowValidationException
WorkflowValidationException - A validation error occurredpublic boolean ResourceExists(String ResourceKey)
ResourceKey - the resource key
public AttachedGridResource GetResource(String ResourceKey)
ResourceKey - the resource key
public void StoreResources(Set<AttachedGridResource.ResourceType> ResourcesToStore,
gr.uoa.di.madgik.environment.hint.EnvHintCollection Hints)
throws Exception
ResourcesToStore - the resources to store
Exception - the exceptionpublic AttachedGridResource GetScopeResource()
public AttachedGridResource GetJDLResource()
public AttachedGridResource GetConfigResource()
public AttachedGridResource GetUserProxyResource()
public Set<AttachedGridResource> GetInDataResources()
public Set<AttachedGridResource> GetOutDataResources()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||