| Constructor and Description |
|---|
FlowImpl() |
| Modifier and Type | Method and Description |
|---|---|
static Flow |
fromXml(org.w3c.dom.Node xml) |
CodeFormat |
getCodeFormat()
Returns the CodeFormat enum of the flow
|
Collector |
getCollector()
Gets the collector to be used for the flow
|
DataFormat |
getDataFormat()
Returns the DataForm enum of the flow
|
java.lang.String |
getEntityName()
Returns the name of the entity that's been set for the flow in strong form
|
java.lang.String |
getFlowDbPath()
Gets the DbPath (uri) for the flow in string form
|
MainPlugin |
getMain()
Gets the main plugin module that the flow is set to use
|
java.lang.String |
getName()
Gets the name of the flow
|
FlowType |
getType()
Gets the FlowType enum for the flow
|
static Flow |
loadFromFile(java.io.File file) |
java.lang.String |
serialize()
Serializes the flow into an xml string
|
void |
setCodeFormat(CodeFormat codeFormat)
Sets the CodeFormat enum of the flow
|
void |
setCollector(Collector collector)
Sets the collector to be used for the flow
|
void |
setDataFormat(DataFormat dataFormat)
Sets the DataFormat for the flow
|
void |
setEntityName(java.lang.String entityName)
Sets the entity name for the flow
|
void |
setMain(MainPlugin main)
Sets the main plugin module for the flow
|
void |
setName(java.lang.String name)
Sets the name of the flow
|
void |
setType(FlowType type)
Sets the type of the flow
|
java.util.Properties |
toProperties()
Creates a properties object representing the flow
|
public void setEntityName(java.lang.String entityName)
FlowsetEntityName in interface FlowentityName - the string name of the entity to use in the flowpublic java.lang.String getEntityName()
FlowgetEntityName in interface Flowpublic void setName(java.lang.String name)
Flowpublic java.lang.String getName()
Flowpublic void setType(FlowType type)
Flowpublic FlowType getType()
Flowpublic void setDataFormat(DataFormat dataFormat)
FlowsetDataFormat in interface FlowdataFormat - - DataFormat enum of json or xmlpublic DataFormat getDataFormat()
FlowgetDataFormat in interface Flowpublic void setCodeFormat(CodeFormat codeFormat)
FlowsetCodeFormat in interface FlowcodeFormat - enum of sjs or xqypublic CodeFormat getCodeFormat()
FlowgetCodeFormat in interface Flowpublic Collector getCollector()
FlowgetCollector in interface Flowpublic void setCollector(Collector collector)
FlowsetCollector in interface Flowcollector - the collector to be used for the flowpublic MainPlugin getMain()
Flowpublic void setMain(MainPlugin main)
Flowpublic java.lang.String serialize()
Flowpublic java.util.Properties toProperties()
FlowtoProperties in interface Flowpublic static Flow loadFromFile(java.io.File file)
public static Flow fromXml(org.w3c.dom.Node xml)
public java.lang.String getFlowDbPath()
FlowgetFlowDbPath in interface Flow