public interface LegacyFlowManager
Modifier and Type | Method and Description |
---|---|
static LegacyFlow |
flowFromXml(org.w3c.dom.Element doc)
Turns an XML document into a flow
|
LegacyFlow |
getFlow(java.lang.String entityName,
java.lang.String flowName)
Retrieves a named flow from a given entity
|
LegacyFlow |
getFlow(java.lang.String entityName,
java.lang.String flowName,
FlowType flowType)
Retrieves a named flow from a given entity
|
LegacyFlow |
getFlowFromProperties(java.nio.file.Path propertiesFile)
Obtains a flow from a property file
|
java.util.List<LegacyFlow> |
getFlows(java.lang.String entityName)
Retrieves a list of flows installed on the MarkLogic server
|
java.util.List<LegacyFlow> |
getLocalFlows()
retrieves a list of all the flows on the local files systems
|
java.util.List<LegacyFlow> |
getLocalFlowsForEntity(java.lang.String entityName)
retrieves a list of all the flows on the local files systems
|
java.util.List<LegacyFlow> |
getLocalFlowsForEntity(java.lang.String entityName,
FlowType flowType)
retrieves a list of all the flows on the local files systems
|
LegacyFlowRunner |
newFlowRunner()
Creates and returns a new LegacyFlowRunner object using the FlowManager's hubconfig
|
void |
setHubConfig(HubConfig hubConfig)
Set HubConfig
|
void setHubConfig(HubConfig hubConfig)
hubConfig
- a hubConfig objectstatic LegacyFlow flowFromXml(org.w3c.dom.Element doc)
doc
- - the xml document representing a flowjava.util.List<LegacyFlow> getLocalFlows()
java.util.List<LegacyFlow> getLocalFlowsForEntity(java.lang.String entityName)
entityName
- - string name of the entity for the flowjava.util.List<LegacyFlow> getLocalFlowsForEntity(java.lang.String entityName, FlowType flowType)
entityName
- - string name of the entity for the flowflowType
- - the FlowType enum, eg: ingest or harmonizeLegacyFlow getFlowFromProperties(java.nio.file.Path propertiesFile)
propertiesFile
- - the Path to the property filejava.util.List<LegacyFlow> getFlows(java.lang.String entityName)
entityName
- - the entity from which to fetch the flowsLegacyFlow getFlow(java.lang.String entityName, java.lang.String flowName)
entityName
- - the entity that the flow belongs toflowName
- - the name of the flow to getLegacyFlow getFlow(java.lang.String entityName, java.lang.String flowName, FlowType flowType)
entityName
- - the entity that the flow belongs toflowName
- - the name of the flow to getflowType
- - the type of flow (ingest/harmonize)LegacyFlowRunner newFlowRunner()