org.gcube.common.vremanagement.deployer.impl.operators
Class PatchOperator

java.lang.Object
  extended by org.gcube.common.core.utils.handlers.GCUBEHandler<org.gcube.common.core.utils.handlers.GCUBEHandler<?>>
      extended by org.gcube.common.vremanagement.deployer.impl.operators.PatchOperator
All Implemented Interfaces:
org.gcube.common.core.utils.handlers.GCUBEIHandler<org.gcube.common.core.utils.handlers.GCUBEHandler<?>>

public class PatchOperator
extends org.gcube.common.core.utils.handlers.GCUBEHandler<org.gcube.common.core.utils.handlers.GCUBEHandler<?>>

Applies a patch to local files

Author:
manuele simi (CNR-ISTI)

Field Summary
 
Fields inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler
handled, logger, producer
 
Constructor Summary
PatchOperator(org.gcube.common.vremanagement.deployer.stubs.common.PackageInfo packageinfo, org.apache.axis.types.URI uri, org.apache.axis.message.addressing.EndpointReferenceType callbackEPR, String callbackID, boolean restart, org.gcube.common.core.scope.GCUBEScope callerScope)
           
 
Method Summary
 void run()
          
 
Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler
clearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getScopeManager, getSecurityManager, getState, notify, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, setState, subscribe, undo, unsubscribe
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PatchOperator

public PatchOperator(org.gcube.common.vremanagement.deployer.stubs.common.PackageInfo packageinfo,
                     org.apache.axis.types.URI uri,
                     org.apache.axis.message.addressing.EndpointReferenceType callbackEPR,
                     String callbackID,
                     boolean restart,
                     org.gcube.common.core.scope.GCUBEScope callerScope)
Parameters:
packageinfo - information about the package to patch
uri - the URI from with the patch will be downloaded
callbackEPR - the EPR to notify about the result of the patch operation
callbackID - the ID of the operation as passed as input by the caller
Method Detail

run

public void run()
         throws Exception

Specified by:
run in interface org.gcube.common.core.utils.handlers.GCUBEIHandler<org.gcube.common.core.utils.handlers.GCUBEHandler<?>>
Specified by:
run in class org.gcube.common.core.utils.handlers.GCUBEHandler<org.gcube.common.core.utils.handlers.GCUBEHandler<?>>
Throws:
Exception


Copyright © 2012. All Rights Reserved.