flux
Interface UntarFileAction

All Superinterfaces:
flux.Action, Cloneable, flux.runtimedatamap.RuntimeDataMap, Serializable

public interface UntarFileAction
extends flux.Action

Untars a specified tar archive file. It supports decompressing bzip, gzip and tar file types.

Author:
arul@fluxcorp.com

Method Summary
 void setDestination(String dest)
          Sets the directory where to store the expanded files.
 void setExcludePatterns(List<String> excludePatterns)
          Sets the file exclude patterns.
 void setIncludePatterns(List<String> includePatterns)
          Sets the file include patterns.
 void setOverwriteEnabled(boolean overwrite)
          Overwrite files, even if they are newer than the corresponding entries in the archive.
 void setSource(String src)
          Sets the archive file to expand.
 
Methods inherited from interface flux.Action
addFlow, addFlow, addSignalFlow, clone, execute, getDescription, getFlows, getHiddenVariableNames, getJoinExpression, getName, getPostscript, getPostscriptLanguage, getPrescript, getPrescriptLanguage, getResultInfo, getSignalsToMonitor, getTimeoutBusinessInterval, getTimeoutExpression, getVariableManager, isEndOfRun, isJoinPoint, isSkippable, isStartAction, isStartOfRun, isTransactionBreak, removeFlow, reset, setDescription, setElseFlow, setEndOfRun, setErrorFlow, setErrorFlowWithoutRollback, setErrorFlowWithRollback, setJoinExpression, setJoinPoint, setName, setPostscript, setPostscriptLanguage, setPrescript, setPrescriptLanguage, setSignalsToMonitor, setSkippable, setStartAction, setStartOfRun, setTimeoutBusinessInterval, setTimeoutExpression, setTimeoutFlow, setTransactionBreak, verify, verifyOnClient
 
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap
getRuntimeDataMap, setRuntimeDataMap
 

Method Detail

setDestination

void setDestination(String dest)
Sets the directory where to store the expanded files.

Parameters:
dest - The directory where to store the expanded files.

setExcludePatterns

void setExcludePatterns(List<String> excludePatterns)
Sets the file exclude patterns. It follows ant style regex file exclude patterns.

Parameters:
excludePatterns - The file exclude patterns.

setIncludePatterns

void setIncludePatterns(List<String> includePatterns)
Sets the file include patterns. It follows ant style regex file include patterns.

Parameters:
includePatterns - The file include patterns.

setOverwriteEnabled

void setOverwriteEnabled(boolean overwrite)
Overwrite files, even if they are newer than the corresponding entries in the archive. Default is true.

Parameters:
overwrite - Overwrite files, even if they are newer than the corresponding entries in the archive.

setSource

void setSource(String src)
Sets the archive file to expand.

Parameters:
src - The archive file to expand.


© 2000-2011 Flux Corporation. All rights reserved.