@Component public class LegacyFlowManagerImpl extends com.marklogic.client.extensions.ResourceManager implements LegacyFlowManager
| Constructor and Description |
|---|
LegacyFlowManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
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 |
setupClient() |
getName, startLogging, stopLoggingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitflowFromXmlpublic void setHubConfig(HubConfig hubConfig)
LegacyFlowManagersetHubConfig in interface LegacyFlowManagerhubConfig - a hubConfig objectpublic void setupClient()
public java.util.List<LegacyFlow> getLocalFlows()
LegacyFlowManagergetLocalFlows in interface LegacyFlowManagerpublic java.util.List<LegacyFlow> getLocalFlowsForEntity(java.lang.String entityName)
LegacyFlowManagergetLocalFlowsForEntity in interface LegacyFlowManagerentityName - - string name of the entity for the flowpublic java.util.List<LegacyFlow> getLocalFlowsForEntity(java.lang.String entityName, FlowType flowType)
LegacyFlowManagergetLocalFlowsForEntity in interface LegacyFlowManagerentityName - - string name of the entity for the flowflowType - - the FlowType enum, eg: ingest or harmonizepublic LegacyFlow getFlowFromProperties(java.nio.file.Path propertiesFile)
LegacyFlowManagergetFlowFromProperties in interface LegacyFlowManagerpropertiesFile - - the Path to the property filepublic java.util.List<LegacyFlow> getFlows(java.lang.String entityName)
LegacyFlowManagergetFlows in interface LegacyFlowManagerentityName - - the entity from which to fetch the flowspublic LegacyFlow getFlow(java.lang.String entityName, java.lang.String flowName)
LegacyFlowManagergetFlow in interface LegacyFlowManagerentityName - - the entity that the flow belongs toflowName - - the name of the flow to getpublic LegacyFlow getFlow(java.lang.String entityName, java.lang.String flowName, FlowType flowType)
LegacyFlowManagergetFlow in interface LegacyFlowManagerentityName - - the entity that the flow belongs toflowName - - the name of the flow to getflowType - - the type of flow (ingest/harmonize)public LegacyFlowRunner newFlowRunner()
LegacyFlowManagernewFlowRunner in interface LegacyFlowManager