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
 
Field Summary
protected  org.gcube.common.core.utils.logging.GCUBELog logger
           
 
Fields inherited from class org.gcube.vremanagement.resourcemanager.impl.operators.Operator
action, scopeState
 
Constructor Summary
AddResourcesOperator(ScopeState scopeState, OperatorConfig configuration, org.gcube.vremanagement.resourcemanager.stubs.binder.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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected final org.gcube.common.core.utils.logging.GCUBELog logger
Constructor Detail

AddResourcesOperator

public AddResourcesOperator(ScopeState scopeState,
                            OperatorConfig configuration,
                            org.gcube.vremanagement.resourcemanager.stubs.binder.AddResourcesParameters resourceList)
Creates a new operator to manage the input resource list

Parameters:
scopeState -
target -
operationID -
Method Detail

exec

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

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


Copyright © 2013. All Rights Reserved.