org.gcube.vremanagement.resourcemanager.impl.operators
Class AddResourcesOperator

java.lang.Object
  extended by org.gcube.vremanagement.resourcemanager.impl.operators.Operator
      extended by org.gcube.vremanagement.resourcemanager.impl.operators.AddResourcesOperator

public class AddResourcesOperator
extends Operator

A Resources Operator that coordinates the adding of resources to the scope

Author:
Manuele Simi (ISTI-CNR)

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gcube.vremanagement.resourcemanager.impl.operators.Operator
Operator.ACTION
 
Constructor Summary
AddResourcesOperator(OperatorConfig configuration, AddResourcesParameters resourceList)
          Creates a new operator to manage the input resource list
 
Method Summary
 void exec()
          Executes the operator's tasks
 
Methods inherited from class org.gcube.vremanagement.resourcemanager.impl.operators.Operator
run
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddResourcesOperator

public AddResourcesOperator(OperatorConfig configuration,
                            AddResourcesParameters resourceList)
Creates a new operator to manage the input resource list

Parameters:
scopeState -
target -
operationID -
Method Detail

exec

public void exec()
          throws java.lang.Exception
Executes the operator's tasks

Specified by:
exec in class Operator
Throws:
java.lang.Exception - if any of the tasks fails