gr.uoa.di.madgik.workflow.adaptor
Class WorkflowCondorAdaptor

java.lang.Object
  extended by gr.uoa.di.madgik.workflow.adaptor.WorkflowCondorAdaptor
All Implemented Interfaces:
IWorkflowAdaptor

public class WorkflowCondorAdaptor
extends Object
implements IWorkflowAdaptor


Field Summary
 boolean IsDag
           
 Boolean RetrieveJobClassAd
           
 long Timeout
           
 long WaitPeriod
           
 
Constructor Summary
WorkflowCondorAdaptor()
           
 
Method Summary
 void CreatePlan()
          Based on the provided resources, a call to this method will do all the needed processing and once completed a full execution plan will be created
 gr.uoa.di.madgik.execution.plan.ExecutionPlan GetCreatedPlan()
          Retrieves the created plan after the successful invocation of the IWorkflowAdaptor.CreatePlan()
 Set<IOutputResource> GetOutput()
          The retrieved set of output resources contains informations needed as to how to retrieve the outputs of the workflow after the execution of the created plan
 void SetAdaptorResources(IAdaptorResources Resources)
          Sets the adaptor resources.
 void SetExecutionId(String executionId)
          Sets the execution id which will be associated with the created plan
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RetrieveJobClassAd

public Boolean RetrieveJobClassAd

WaitPeriod

public long WaitPeriod

Timeout

public long Timeout

IsDag

public boolean IsDag
Constructor Detail

WorkflowCondorAdaptor

public WorkflowCondorAdaptor()
Method Detail

SetAdaptorResources

public void SetAdaptorResources(IAdaptorResources Resources)
                         throws WorkflowValidationException
Description copied from interface: IWorkflowAdaptor
Sets the adaptor resources. These include all the needed inputs that the workflow will need in order to construct the internal execution plan and will be later needed during the execution of this plan.

Specified by:
SetAdaptorResources in interface IWorkflowAdaptor
Parameters:
Resources - the resources needed
Throws:
WorkflowValidationException - Problem with the validity of one of the provided elements

SetExecutionId

public void SetExecutionId(String executionId)
Description copied from interface: IWorkflowAdaptor
Sets the execution id which will be associated with the created plan

Specified by:
SetExecutionId in interface IWorkflowAdaptor
Parameters:
executionId - The execution id

CreatePlan

public void CreatePlan()
                throws WorkflowValidationException,
                       WorkflowSerializationException,
                       WorkflowInternalErrorException,
                       WorkflowEnvironmentException
Description copied from interface: IWorkflowAdaptor
Based on the provided resources, a call to this method will do all the needed processing and once completed a full execution plan will be created

Specified by:
CreatePlan in interface IWorkflowAdaptor
Throws:
WorkflowValidationException - Problem with the validity of one of the provided elements
WorkflowSerializationException - Problem with the serialization of one of the provided elements
WorkflowInternalErrorException - An internal error has occurred
WorkflowEnvironmentException - There was a problem with the environment the Workflow Engine is contained

GetCreatedPlan

public gr.uoa.di.madgik.execution.plan.ExecutionPlan GetCreatedPlan()
Description copied from interface: IWorkflowAdaptor
Retrieves the created plan after the successful invocation of the IWorkflowAdaptor.CreatePlan()

Specified by:
GetCreatedPlan in interface IWorkflowAdaptor
Returns:
the execution plan

GetOutput

public Set<IOutputResource> GetOutput()
Description copied from interface: IWorkflowAdaptor
The retrieved set of output resources contains informations needed as to how to retrieve the outputs of the workflow after the execution of the created plan

Specified by:
GetOutput in interface IWorkflowAdaptor
Returns:
A set of the output resources retrieval information


Copyright © 2013. All Rights Reserved.