public final class InputTemplateDeployer extends Object
Modifier and Type | Method and Description |
---|---|
static File |
deployTemplateFromPackage(File templateProject, String templateName, File deploymentDirectory)
Deploys an input template from the template project to the given folder
|
static File |
deployTemplateFromPackage(File templateProject, String templateName, File deploymentDirectory, JsonData jsonData)
Deploys an input template from the template project to the given folder and pre-fills its with specified JSON data.
|
static File |
deployTemplateFromPackage(File templateProject, String templateName, File deploymentDirectory, PackageProvidedData projectProvidedData)
Deploys an input template from the template project to the given folder and pre-fills its with specified data from template project.
|
public static File deployTemplateFromPackage(File templateProject, String templateName, File deploymentDirectory, PackageProvidedData projectProvidedData) throws IOException
templateProject
- the template project
templateName
- name of the input template to deploy
deploymentDirectory
- directory to deploy the input template to
projectProvidedData
- data to pre-fill
IOException
- on error during reading or writing
public static File deployTemplateFromPackage(File templateProject, String templateName, File deploymentDirectory, JsonData jsonData) throws IOException
templateProject
- path to the template project
templateName
- name of the input template to deploy
deploymentDirectory
- directory to deploy the input template to
jsonData
- JSON data to pre-fill
IOException
- on error during reading or writing
public static File deployTemplateFromPackage(File templateProject, String templateName, File deploymentDirectory) throws IOException
templateProject
- the template project
templateName
- name of the input template to deploy
deploymentDirectory
- directory to deploy the input template to
IOException
- on error during reading or writing
Copyright © 2019. All rights reserved.