Search in sources :

Example 1 with TemplateInstanceCreator

use of com.thinkbiganalytics.nifi.feedmgr.TemplateInstanceCreator in project kylo by Teradata.

the class LegacyNifiRestClient method createNewTemplateInstance.

public NifiProcessGroup createNewTemplateInstance(String templateId, List<NifiProperty> templateProperties, Map<String, Object> staticConfigProperties, boolean createReusableFlow, ReusableTemplateCreationCallback creationCallback, String versionIdentifier) {
    TemplateInstanceCreator creator = new TemplateInstanceCreator(this, templateId, templateProperties, staticConfigProperties, createReusableFlow, creationCallback, versionIdentifier);
    NifiProcessGroup group = creator.createTemplate();
    return group;
}
Also used : TemplateInstanceCreator(com.thinkbiganalytics.nifi.feedmgr.TemplateInstanceCreator) NifiProcessGroup(com.thinkbiganalytics.nifi.rest.model.NifiProcessGroup)

Example 2 with TemplateInstanceCreator

use of com.thinkbiganalytics.nifi.feedmgr.TemplateInstanceCreator in project kylo by Teradata.

the class LegacyNifiRestClient method createNewTemplateInstance.

@Deprecated
public NifiProcessGroup createNewTemplateInstance(String templateId, Map<String, Object> staticConfigProperties, boolean createReusableFlow, ReusableTemplateCreationCallback creationCallback) {
    TemplateInstanceCreator creator = new TemplateInstanceCreator(this, templateId, staticConfigProperties, createReusableFlow, creationCallback, null);
    NifiProcessGroup group = creator.createTemplate();
    return group;
}
Also used : TemplateInstanceCreator(com.thinkbiganalytics.nifi.feedmgr.TemplateInstanceCreator) NifiProcessGroup(com.thinkbiganalytics.nifi.rest.model.NifiProcessGroup)

Aggregations

TemplateInstanceCreator (com.thinkbiganalytics.nifi.feedmgr.TemplateInstanceCreator)2 NifiProcessGroup (com.thinkbiganalytics.nifi.rest.model.NifiProcessGroup)2