Class ActionCreateFolder
- java.lang.Object
-
- org.apache.hop.workflow.action.ActionBase
-
- org.apache.hop.workflow.actions.createfolder.ActionCreateFolder
-
- All Implemented Interfaces:
Cloneable,IAttributes,ICheckResultSource,IExtensionData,IHasLogChannel,ILoggingObject,IVariables,org.apache.hop.resource.IResourceHolder,org.apache.hop.workflow.action.IAction
@Action(id="CREATE_FOLDER", name="i18n::ActionCreateFolder.Name", description="i18n::ActionCreateFolder.Description", image="CreateFolder.svg", categoryDescription="i18n:org.apache.hop.workflow:ActionCategory.Category.FileManagement", keywords="i18n::ActionCreateFolder.keyword", documentationUrl="/workflow/actions/createfolder.html") public class ActionCreateFolder extends org.apache.hop.workflow.action.ActionBase implements Cloneable, org.apache.hop.workflow.action.IActionThis defines a 'create folder' action. Its main use would be to create empty folder that can be used to control the flow in ETL cycles.
-
-
Constructor Summary
Constructors Constructor Description ActionCreateFolder()ActionCreateFolder(String n)ActionCreateFolder(ActionCreateFolder f)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheck(List<ICheckResult> remarks, org.apache.hop.workflow.WorkflowMeta workflowMeta, IVariables variables, IHopMetadataProvider metadataProvider)ActionCreateFolderclone()Resultexecute(Result previousResult, int nr)StringgetFolderName()Gets folderNameStringgetRealFolderName()booleanisEvaluation()booleanisFailIfFolderExists()Gets failIfFolderExistsvoidsetFailIfFolderExists(boolean failIfFolderExists)Sets failIfFolderExistsvoidsetFolderName(String folderName)Sets folderName-
Methods inherited from class org.apache.hop.workflow.action.ActionBase
clear, copyFrom, equals, exportResources, getAttribute, getAttributes, getAttributesMap, getContainerId, getDescription, getDialogClassName, getEntryTransformSetVariable, getEntryTransformSetVariablesMap, getExtensionDataMap, getFilename, getLogChannel, getLogChannelId, getLogLevel, getMetadataProvider, getName, getObjectCopy, getObjectName, getObjectType, getParent, getParentVariables, getParentWorkflow, getParentWorkflowMeta, getPluginId, getRealFilename, getReferencedObjectDescriptions, getRegistrationDate, getResourceDependencies, getSqlStatements, getTypeDesc, getTypeId, getUsedDatabaseConnections, getVariable, getVariable, getVariableBoolean, getVariableNames, getVariables, getXml, hasChanged, hashCode, initializeFrom, isBasic, isDebug, isDetailed, isForcingSeparateLogging, isGatheringMetrics, isPipeline, isReferencedObjectEnabled, isRowlevel, isStart, isUnconditional, isWorkflow, loadReferencedObject, loadXml, loadXml, logBasic, logBasic, logDebug, logDebug, logDetailed, logDetailed, logError, logError, logError, logMinimal, logMinimal, logRowlevel, logRowlevel, resetErrorsBeforeExecution, resolve, resolve, resolve, setAttribute, setAttributes, setAttributesMap, setChanged, setChanged, setContainerObjectId, setDescription, setEntryTransformSetVariable, setForcingSeparateLogging, setGatheringMetrics, setLogLevel, setMetadataProvider, setName, setParentVariables, setParentWorkflow, setParentWorkflowMeta, setPluginId, setVariable, setVariables, shareWith, toString
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.hop.workflow.action.IAction
clear, exportResources, getDescription, getDialogClassName, getFilename, getLogChannel, getName, getParentWorkflow, getParentWorkflowMeta, getPluginId, getRealFilename, getReferencedObjectDescriptions, getResourceDependencies, getSqlStatements, getXml, hasChanged, isPipeline, isReferencedObjectEnabled, isStart, isUnconditional, isWorkflow, loadReferencedObject, loadXml, resetErrorsBeforeExecution, setChanged, setChanged, setDescription, setMetadataProvider, setName, setParentWorkflow, setParentWorkflowMeta, setPluginId
-
Methods inherited from interface org.apache.hop.core.IExtensionData
getExtensionDataMap
-
Methods inherited from interface org.apache.hop.core.variables.IVariables
copyFrom, getParentVariables, getVariable, getVariable, getVariableBoolean, getVariableNames, initializeFrom, resolve, resolve, resolve, setParentVariables, setVariable, setVariables, shareWith
-
-
-
-
Constructor Detail
-
ActionCreateFolder
public ActionCreateFolder(String n)
-
ActionCreateFolder
public ActionCreateFolder()
-
ActionCreateFolder
public ActionCreateFolder(ActionCreateFolder f)
-
-
Method Detail
-
clone
public ActionCreateFolder clone()
- Specified by:
clonein interfaceorg.apache.hop.workflow.action.IAction- Overrides:
clonein classorg.apache.hop.workflow.action.ActionBase
-
execute
public Result execute(Result previousResult, int nr)
- Specified by:
executein interfaceorg.apache.hop.workflow.action.IAction
-
isEvaluation
public boolean isEvaluation()
- Specified by:
isEvaluationin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
isEvaluationin classorg.apache.hop.workflow.action.ActionBase
-
check
public void check(List<ICheckResult> remarks, org.apache.hop.workflow.WorkflowMeta workflowMeta, IVariables variables, IHopMetadataProvider metadataProvider)
- Specified by:
checkin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
checkin classorg.apache.hop.workflow.action.ActionBase
-
getRealFolderName
public String getRealFolderName()
-
getFolderName
public String getFolderName()
Gets folderName- Returns:
- value of folderName
-
setFolderName
public void setFolderName(String folderName)
Sets folderName- Parameters:
folderName- value of folderName
-
isFailIfFolderExists
public boolean isFailIfFolderExists()
Gets failIfFolderExists- Returns:
- value of failIfFolderExists
-
setFailIfFolderExists
public void setFailIfFolderExists(boolean failIfFolderExists)
Sets failIfFolderExists- Parameters:
failIfFolderExists- value of failIfFolderExists
-
-