public class FlowManager
extends com.marklogic.client.extensions.ResourceManager
| Constructor and Description |
|---|
FlowManager(HubConfig hubConfig) |
| Modifier and Type | Method and Description |
|---|---|
static Flow |
flowFromXml(org.w3c.dom.Element doc)
Turns an XML document into a flow
|
Flow |
getFlow(java.lang.String entityName,
java.lang.String flowName)
Retrieves a named flow from a given entity
|
Flow |
getFlow(java.lang.String entityName,
java.lang.String flowName,
FlowType flowType) |
Flow |
getFlowFromProperties(java.nio.file.Path propertiesFile) |
java.util.List<Flow> |
getFlows(java.lang.String entityName)
Retrieves a list of flows installed on the MarkLogic server
|
java.util.List<java.lang.String> |
getLegacyFlows() |
java.util.List<Flow> |
getLocalFlows()
retrieves a list of all the flows on the local files systems
|
java.util.List<Flow> |
getLocalFlowsForEntity(java.lang.String entityName) |
java.util.List<Flow> |
getLocalFlowsForEntity(java.lang.String entityName,
FlowType flowType) |
FlowRunner |
newFlowRunner() |
java.util.List<java.lang.String> |
updateLegacyFlows(java.lang.String fromVersion) |
public FlowManager(HubConfig hubConfig)
public java.util.List<Flow> getLocalFlows()
public java.util.List<Flow> getLocalFlowsForEntity(java.lang.String entityName)
public java.util.List<Flow> getLocalFlowsForEntity(java.lang.String entityName, FlowType flowType)
public Flow getFlowFromProperties(java.nio.file.Path propertiesFile)
public java.util.List<Flow> getFlows(java.lang.String entityName)
entityName - - the entity from which to fetch the flowspublic Flow getFlow(java.lang.String entityName, java.lang.String flowName)
entityName - - the entity that the flow belongs toflowName - - the name of the flow to getpublic Flow getFlow(java.lang.String entityName, java.lang.String flowName, FlowType flowType)
public java.util.List<java.lang.String> getLegacyFlows()
public java.util.List<java.lang.String> updateLegacyFlows(java.lang.String fromVersion)
public FlowRunner newFlowRunner()
public static Flow flowFromXml(org.w3c.dom.Element doc)
doc - - the xml document representing a flow