public interface Scaffolding
| Modifier and Type | Method and Description |
|---|---|
void |
createCustomModule(java.lang.String stepName,
java.lang.String stepType)
Creates a custom module given a string stepName
|
void |
createCustomModule(java.lang.String stepName,
java.lang.String stepType,
java.lang.String format)
Creates a custom module given a string stepName
|
void |
createDefaultFlow(java.lang.String flowName)
Create default flow with all the default steps
|
void |
createEntity(java.lang.String entityName)
Creates an entity given a string name
|
void |
createLegacyFlow(java.lang.String entityName,
java.lang.String flowName,
FlowType flowType,
CodeFormat codeFormat,
DataFormat dataFormat)
Creates a flow for an entity with Entity Services model as default
|
void |
createLegacyFlow(java.lang.String entityName,
java.lang.String flowName,
FlowType flowType,
CodeFormat codeFormat,
DataFormat dataFormat,
boolean useEsModel)
Creates a flow for an entity with an additional option for using Entity Services
|
void |
createLegacyFlow(java.lang.String entityName,
java.lang.String flowName,
FlowType flowType,
CodeFormat codeFormat,
DataFormat dataFormat,
boolean useEsModel,
java.lang.String mappingNameWithVersion)
Creates a flow for an entity with an additional option for using Entity Services
|
void |
createLegacyMappingDir(java.lang.String mappingName)
Creates a legacy mapping given a string name
|
void |
createMappingDir(java.lang.String mappingName)
Creates a mapping given a string name
|
void |
createRestExtension(java.lang.String entityName,
java.lang.String extensionName,
FlowType flowType,
CodeFormat codeFormat)
Creates a rest extension on disk to be deployed to server
|
void |
createRestTransform(java.lang.String entityName,
java.lang.String transformName,
FlowType flowType,
CodeFormat codeFormat)
Creates a rest transform on disk to be deployed to server
|
java.nio.file.Path |
getLegacyFlowDir(java.lang.String entityName,
java.lang.String flowName,
FlowType flowType)
Returns the directory of the flow
|
void |
updateLegacyEntity(java.lang.String entityName)
Update a specific entity that's legacy
|
java.nio.file.Path getLegacyFlowDir(java.lang.String entityName,
java.lang.String flowName,
FlowType flowType)
entityName - - the entity nameflowName - - the name of the flowflowType - - FlowType (sjs or xqy)void createEntity(java.lang.String entityName)
entityName - - the name of the entity as stringvoid createLegacyMappingDir(java.lang.String mappingName)
mappingName - - the name of the mapping as stringvoid createMappingDir(java.lang.String mappingName)
mappingName - - the name of the mapping as stringvoid createCustomModule(java.lang.String stepName,
java.lang.String stepType)
stepName - - the name of the step as stringstepType - - the type of the step as stringvoid createCustomModule(java.lang.String stepName,
java.lang.String stepType,
java.lang.String format)
stepName - - the name of the step as stringstepType - - the type of the step as stringformat - - the format of the custom module (allowed values are xqy, sjs)void createDefaultFlow(java.lang.String flowName)
flowName - - the name of the flowvoid createLegacyFlow(java.lang.String entityName,
java.lang.String flowName,
FlowType flowType,
CodeFormat codeFormat,
DataFormat dataFormat)
entityName - - name of the entity to associate the flow withflowName - - the name of the flow as a stringflowType - - the type of flow as TypeFlow, eg: harmonize or ingestcodeFormat - - the format of the code as CodeFormat enumdataFormat - - the format of the data (json or xml)void createLegacyFlow(java.lang.String entityName,
java.lang.String flowName,
FlowType flowType,
CodeFormat codeFormat,
DataFormat dataFormat,
boolean useEsModel)
entityName - - name of the entity to associate the flow withflowName - - the name of the flow as a stringflowType - - the type of flow as TypeFlow, eg: harmonize or ingestcodeFormat - - the format of the code as CodeFormat enumdataFormat - - the format of the data (json or xml)useEsModel - - true to use Entity Services, false not tovoid createLegacyFlow(java.lang.String entityName,
java.lang.String flowName,
FlowType flowType,
CodeFormat codeFormat,
DataFormat dataFormat,
boolean useEsModel,
java.lang.String mappingNameWithVersion)
entityName - - name of the entity to associate the flow withflowName - - the name of the flow as a stringflowType - - the type of flow as TypeFlow, eg: harmonize or ingestcodeFormat - - the format of the code as CodeFormat enumdataFormat - - the format of the data (json or xml)useEsModel - - true to use Entity Services, false not tomappingNameWithVersion - - the name of the mapping name and version together (name-version) you wish to use to generate the content pluginvoid updateLegacyEntity(java.lang.String entityName)
entityName - - name of the entityvoid createRestExtension(java.lang.String entityName,
java.lang.String extensionName,
FlowType flowType,
CodeFormat codeFormat)
throws ScaffoldingValidationException
entityName - - the entity which the flow is attachedextensionName - - the name of the extension as a stringflowType - - the type of flow as TypeFlow, eg: harmonize or ingestcodeFormat - - the format of the code as CodeFormat enumScaffoldingValidationException - - thrown if the extension fails to pass validationvoid createRestTransform(java.lang.String entityName,
java.lang.String transformName,
FlowType flowType,
CodeFormat codeFormat)
throws ScaffoldingValidationException
entityName - - the entity which the flow is attachedtransformName - - the name of the transform as a stringflowType - - the type of flow as TypeFlow, eg: harmonize or ingestcodeFormat - - the format of the code as CodeFormat enumScaffoldingValidationException - - thrown if the extension fails to pass validation