flux.file
Interface FileCreateAction

All Superinterfaces:
Action, java.lang.Cloneable, RuntimeDataMap, java.io.Serializable, SingleFileParameter

public interface FileCreateAction
extends SingleFileParameter, Action

Creates a group of files and directories. At flow chart execution time, if at least one error occurs, a FileActionException is thrown.

Author:
Copyright 2014 Flux Corporation. All rights reserved.

Method Summary
 boolean getTruncate()
          Indicates whether existing files will be truncated.
 void setTruncate(boolean overwrite)
          Indicates whether to truncate existing files.
 
Methods inherited from interface flux.file.SingleFileParameter
addSource, clear, getSources
 
Methods inherited from interface flux.Action
addFlow, addFlow, addSignalFlow, clone, execute, getDescription, getFlows, getHiddenVariableNames, getJoinExpression, getName, getPostscript, getPostscriptLanguage, getPrescript, getPrescriptLanguage, getResultInfo, getSignalsToMonitor, getTimeoutBusinessInterval, getTimeoutBusinessIntervalNamespace, 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, setTimeoutBusinessIntervalNamespace, setTimeoutExpression, setTimeoutFlow, setTransactionBreak, verify, verifyOnClient
 
Methods inherited from interface flux.runtimedatamap.RuntimeDataMap
getRuntimeDataMap, setRuntimeDataMap
 

Method Detail

getTruncate

boolean getTruncate()
Indicates whether existing files will be truncated.

Returns:
Whether existing files will be overwritten.

setTruncate

void setTruncate(boolean overwrite)
Indicates whether to truncate existing files.

Parameters:
overwrite - Indicates whether to truncate existing files.


© 2014 Flux Corporation. All rights reserved.