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)
Flow
setEntityName
in interface Flow
entityName
- the string name of the entity to use in the flowpublic java.lang.String getEntityName()
Flow
getEntityName
in interface Flow
public void setName(java.lang.String name)
Flow
public java.lang.String getName()
Flow
public void setType(FlowType type)
Flow
public FlowType getType()
Flow
public void setDataFormat(DataFormat dataFormat)
Flow
setDataFormat
in interface Flow
dataFormat
- - DataFormat enum of json or xmlpublic DataFormat getDataFormat()
Flow
getDataFormat
in interface Flow
public void setCodeFormat(CodeFormat codeFormat)
Flow
setCodeFormat
in interface Flow
codeFormat
- enum of sjs or xqypublic CodeFormat getCodeFormat()
Flow
getCodeFormat
in interface Flow
public Collector getCollector()
Flow
getCollector
in interface Flow
public void setCollector(Collector collector)
Flow
setCollector
in interface Flow
collector
- the collector to be used for the flowpublic MainPlugin getMain()
Flow
public void setMain(MainPlugin main)
Flow
public java.lang.String serialize()
Flow
public java.util.Properties toProperties()
Flow
toProperties
in interface Flow
public static Flow loadFromFile(java.io.File file)
public static Flow fromXml(org.w3c.dom.Node xml)
public java.lang.String getFlowDbPath()
Flow
getFlowDbPath
in interface Flow