ncsa.tools.ogrescript.trebuchet.tasks.operation
Class CacheBasedOp

java.lang.Object
  extended byncsa.tools.ogrescript.OgreScriptElement
      extended byncsa.tools.ogrescript.tasks.OgreScriptBaseTask
          extended byncsa.tools.ogrescript.tasks.OgreScriptTask
              extended byncsa.tools.ogrescript.trebuchet.tasks.operation.BaseOp
                  extended byncsa.tools.ogrescript.trebuchet.tasks.operation.CacheBasedOp
All Implemented Interfaces:
IIdentifiable, ITask, UserFacing
Direct Known Subclasses:
Copy, Delete, Mkdir, Touch

public abstract class CacheBasedOp
extends BaseOp

Cleanup defaults to true, so caches that are used will be deleted unless otherwise indicated. The operation is returned only if cleanup is false.

Author:
arossi

Field Summary
 
Fields inherited from class ncsa.tools.ogrescript.tasks.OgreScriptBaseTask
TAG_EXT_PT, TAG_REQUIRED, TAG_SELF
 
Method Summary
 void addUri(java.net.URI uri)
           
 void setCleanup(boolean cleanup)
           
 void setCopyCache(CopyCache copyCache)
           
 void setCopyCacheFile(java.io.File copyCacheFile)
           
 void setIncludeAncestors(boolean includeAncestors)
           
 void setListCache(ListCache listCache)
           
 void setListCacheFile(java.io.File listCacheFile)
           
 
Methods inherited from class ncsa.tools.ogrescript.trebuchet.tasks.operation.BaseOp
addCopyProgressListener, addFileProgressListener, addListener, addListMetadataListener, addListProgressListener, addLoggingListener, getPlugin, setConfiguration, setEvents, setLog4j, setStdout
 
Methods inherited from class ncsa.tools.ogrescript.tasks.OgreScriptTask
addReturnValue, getReturnValues, setReturnValues
 
Methods inherited from class ncsa.tools.ogrescript.tasks.OgreScriptBaseTask
execute, getInstanceId, getScript, getTaskId, getTaskName, setEnvironment, setInstanceId, setScript, setTaskId, setTaskName, toString
 
Methods inherited from class ncsa.tools.ogrescript.OgreScriptElement
asElement, initializeFromElement
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface ncsa.tools.common.UserFacing
asElement, initializeFromElement
 

Method Detail

setCopyCache

public void setCopyCache(CopyCache copyCache)

setCopyCacheFile

public void setCopyCacheFile(java.io.File copyCacheFile)

setListCache

public void setListCache(ListCache listCache)

setListCacheFile

public void setListCacheFile(java.io.File listCacheFile)

addUri

public void addUri(java.net.URI uri)

setIncludeAncestors

public void setIncludeAncestors(boolean includeAncestors)

setCleanup

public void setCleanup(boolean cleanup)