Package org.apache.hop.resource
Interface IResourceExport
-
- All Known Implementing Classes:
PipelineMeta,TransformMeta,WorkflowMeta
public interface IResourceExportThe classes implementing this interface allow their used resources to be exported.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringexportResources(IVariables variables, Map<String,ResourceDefinition> definitions, IResourceNaming namingInterface, IHopMetadataProvider metadataProvider)Exports the object to a flat-file system, adding content with filename keys to a set of definitions.
-
-
-
Method Detail
-
exportResources
String exportResources(IVariables variables, Map<String,ResourceDefinition> definitions, IResourceNaming namingInterface, IHopMetadataProvider metadataProvider) throws HopException
Exports the object to a flat-file system, adding content with filename keys to a set of definitions. The supplied resource naming interface allows the object to name appropriately without worrying about those parts of the implementation specific details.- Parameters:
variables- The variable variables to resolve (environment) variables with.definitions- The map containing the filenames and contentnamingInterface- The resource naming interface allows the object to name appropriatelymetadataProvider- the central metadata to load non-hop specific metadata from- Returns:
- The filename for this object. (also contained in the definitions map)
- Throws:
HopException- in case something goes wrong during the export
-
-