public interface LegacyFlow
Modifier and Type | Method and Description |
---|---|
CodeFormat |
getCodeFormat()
Returns the CodeFormat enum of the flow
|
LegacyCollector |
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 |
getMappingName()
Gets the mapping name used for the flow
|
java.lang.String |
getName()
Gets the name of the flow
|
FlowType |
getType()
Gets the FlowType enum for the flow
|
java.lang.String |
serialize()
Serializes the flow into an xml string
|
void |
setCodeFormat(CodeFormat codeFormat)
Sets the CodeFormat enum of the flow
|
void |
setCollector(LegacyCollector collector)
Sets the legacyCollector 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 |
setMappingName(java.lang.String mappingName)
Sets the mapping name used to generate 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
|
void setEntityName(java.lang.String entityName)
entityName
- the string name of the entity to use in the flowjava.lang.String getEntityName()
void setName(java.lang.String name)
name
- - string representing the name of the flowjava.lang.String getName()
void setMappingName(java.lang.String mappingName)
mappingName
- - string representing the mapping name for the flowjava.lang.String getMappingName()
void setType(FlowType type)
type
- - FlowType enum for harmonize or inputFlowType getType()
void setDataFormat(DataFormat dataFormat)
dataFormat
- - DataFormat enum of json or xmlDataFormat getDataFormat()
void setCodeFormat(CodeFormat codeFormat)
codeFormat
- enum of sjs or xqyCodeFormat getCodeFormat()
java.lang.String serialize()
java.util.Properties toProperties()
java.lang.String getFlowDbPath()
LegacyCollector getCollector()
void setCollector(LegacyCollector collector)
collector
- the legacyCollector to be used for the flowMainPlugin getMain()
void setMain(MainPlugin main)
main
- - a MainPlugin object that defines the main plugin to be used