Class XmlWellFormed
- java.lang.Object
-
- org.apache.hop.workflow.action.ActionBase
-
- org.apache.hop.workflow.actions.xml.xmlwellformed.XmlWellFormed
-
- All Implemented Interfaces:
Cloneable,IAttributes,ICheckResultSource,IExtensionData,IHasLogChannel,ILoggingObject,IVariables,org.apache.hop.resource.IResourceHolder,org.apache.hop.workflow.action.IAction
@Action(id="XML_WELL_FORMED", name="i18n::XML_WELL_FORMED.Name", description="i18n::XML_WELL_FORMED.Description", image="XFC.svg", categoryDescription="i18n::XML_WELL_FORMED.Category", keywords="i18n::XmlWellFormed.keyword", documentationUrl="/workflow/actions/xmlwellformed.html") public class XmlWellFormed extends org.apache.hop.workflow.action.ActionBase implements Cloneable, org.apache.hop.workflow.action.IActionThis defines a 'xml well formed' workflow action.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classXmlWellFormed.XMLTreeHandler
-
Field Summary
Fields Modifier and Type Field Description static StringADD_ALL_FILENAMESstatic StringADD_BAD_FORMED_FILES_ONLYstatic StringADD_WELL_FORMED_FILES_ONLYbooleanargFromPreviousDeprecated.booleanincludeSubfoldersDeprecated.String[]sourceFileFoldersDeprecated.static StringSUCCESS_IF_AT_LEAST_X_FILES_WELL_FORMEDstatic StringSUCCESS_IF_BAD_FORMED_FILES_LESSstatic StringSUCCESS_IF_NO_ERRORSString[]wildcardDeprecated.
-
Constructor Summary
Constructors Constructor Description XmlWellFormed()XmlWellFormed(String n)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheck(List<ICheckResult> remarks, org.apache.hop.workflow.WorkflowMeta jobMeta, IVariables variables, IHopMetadataProvider metadataProvider)Objectclone()Resultexecute(Result previousResult, int nr)StringgetNrErrorsLessThan()StringgetResultFilenames()String[]getSourceFileFolders()String[]getSourceWildcards()StringgetSuccessCondition()StringgetXml()booleanisArgFromPrevious()booleanisEvaluation()booleanisIncludeSubfolders()voidloadXml(Node entrynode, IHopMetadataProvider metadataProvider, IVariables variables)voidsetArgFromPrevious(boolean argFromPrevious)voidsetIncludeSubfolders(boolean includeSubfolders)voidsetNrErrorsLessThan(String nrErrorsLessThan)voidsetResultFilenames(String resultFilenames)voidsetSourceFileFolders(String[] sourceFileFolders)voidsetSourceWildcards(String[] wildcards)voidsetSuccessCondition(String successCondition)-
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, hasChanged, hashCode, initializeFrom, isBasic, isDebug, isDetailed, isForcingSeparateLogging, isGatheringMetrics, isPipeline, isReferencedObjectEnabled, isRowlevel, isStart, isUnconditional, isWorkflow, loadReferencedObject, 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, hasChanged, isPipeline, isReferencedObjectEnabled, isStart, isUnconditional, isWorkflow, loadReferencedObject, 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
-
-
-
-
Field Detail
-
SUCCESS_IF_AT_LEAST_X_FILES_WELL_FORMED
public static final String SUCCESS_IF_AT_LEAST_X_FILES_WELL_FORMED
- See Also:
- Constant Field Values
-
SUCCESS_IF_BAD_FORMED_FILES_LESS
public static final String SUCCESS_IF_BAD_FORMED_FILES_LESS
- See Also:
- Constant Field Values
-
SUCCESS_IF_NO_ERRORS
public static final String SUCCESS_IF_NO_ERRORS
- See Also:
- Constant Field Values
-
ADD_ALL_FILENAMES
public static final String ADD_ALL_FILENAMES
- See Also:
- Constant Field Values
-
ADD_WELL_FORMED_FILES_ONLY
public static final String ADD_WELL_FORMED_FILES_ONLY
- See Also:
- Constant Field Values
-
ADD_BAD_FORMED_FILES_ONLY
public static final String ADD_BAD_FORMED_FILES_ONLY
- See Also:
- Constant Field Values
-
argFromPrevious
@Deprecated(since="2.0") public boolean argFromPrevious
Deprecated.
-
includeSubfolders
@Deprecated(since="2.0") public boolean includeSubfolders
Deprecated.
-
sourceFileFolders
@Deprecated(since="2.0") public String[] sourceFileFolders
Deprecated.
-
wildcard
@Deprecated(since="2.0") public String[] wildcard
Deprecated.
-
-
Constructor Detail
-
XmlWellFormed
public XmlWellFormed(String n)
-
XmlWellFormed
public XmlWellFormed()
-
-
Method Detail
-
clone
public Object clone()
- Specified by:
clonein interfaceorg.apache.hop.workflow.action.IAction- Overrides:
clonein classorg.apache.hop.workflow.action.ActionBase
-
getXml
public String getXml()
- Specified by:
getXmlin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
getXmlin classorg.apache.hop.workflow.action.ActionBase
-
loadXml
public void loadXml(Node entrynode, IHopMetadataProvider metadataProvider, IVariables variables) throws HopXmlException
- Specified by:
loadXmlin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
loadXmlin classorg.apache.hop.workflow.action.ActionBase- Throws:
HopXmlException
-
execute
public Result execute(Result previousResult, int nr) throws HopException
- Specified by:
executein interfaceorg.apache.hop.workflow.action.IAction- Throws:
HopException
-
isIncludeSubfolders
public boolean isIncludeSubfolders()
-
setIncludeSubfolders
public void setIncludeSubfolders(boolean includeSubfolders)
-
isArgFromPrevious
public boolean isArgFromPrevious()
-
setArgFromPrevious
public void setArgFromPrevious(boolean argFromPrevious)
-
setNrErrorsLessThan
public void setNrErrorsLessThan(String nrErrorsLessThan)
-
getSourceFileFolders
public String[] getSourceFileFolders()
-
setSourceFileFolders
public void setSourceFileFolders(String[] sourceFileFolders)
-
getSourceWildcards
public String[] getSourceWildcards()
-
setSourceWildcards
public void setSourceWildcards(String[] wildcards)
-
getNrErrorsLessThan
public String getNrErrorsLessThan()
-
setSuccessCondition
public void setSuccessCondition(String successCondition)
-
getSuccessCondition
public String getSuccessCondition()
-
setResultFilenames
public void setResultFilenames(String resultFilenames)
-
getResultFilenames
public String getResultFilenames()
-
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 jobMeta, IVariables variables, IHopMetadataProvider metadataProvider)
- Specified by:
checkin interfaceorg.apache.hop.workflow.action.IAction- Overrides:
checkin classorg.apache.hop.workflow.action.ActionBase
-
-