public class ScaffolderAPI extends Object
| Constructor and Description |
|---|
ScaffolderAPI() |
| Modifier and Type | Method and Description |
|---|---|
ScaffolderReport |
run(List<org.apache.maven.model.Dependency> dependencyList,
ScaffolderResourceLoader scaffolderResourceLoader,
File appDir,
File domainDir,
String minMuleVersion,
RuntimeEdition runtimeEdition)
Modifies or creates the Mule config files which are contained in the appDir directory
by running the scaffolder on the ramlFiles contained at gavs passed as parameter.
|
ScaffolderReport |
run(List<File> ramlFiles,
File appDir)
Modifies or creates the Mule config files which are contained in the appDir directory
by running the scaffolder on the ramlFiles passed as parameter.
|
ScaffolderReport |
run(List<File> ramlFiles,
File appDir,
File domainDir)
Modifies or creates the Mule config files which are contained in the appDir directory
by running the scaffolder on the ramlFiles passed as parameter.
|
ScaffolderReport |
run(List<File> ramlFiles,
File appDir,
File domainDir,
String minMuleVersion,
RuntimeEdition runtimeEdition)
Looks for an extension point and executes it, relying on the execute method otherwise.
|
public ScaffolderReport run(List<File> ramlFiles, File appDir)
ramlFiles - the ramlFiles to which the scaffolder will be run onappDir - the directory which contained the generated Mule config filespublic ScaffolderReport run(List<File> ramlFiles, File appDir, File domainDir)
ramlFiles - the ramlFiles to which the scaffolder will be run onappDir - the directory which contained the generated Mule config filesdomainDir - the directory which contained the domain used by the mule config filespublic ScaffolderReport run(List<File> ramlFiles, File appDir, File domainDir, String minMuleVersion, RuntimeEdition runtimeEdition)
ramlFiles - the ramlFiles to which the scaffolder will be run onappDir - the directory which contained the generated Mule config filesdomainDir - the directory which contained the domain used by the mule config filesminMuleVersion - currently unused, will be useful in future improvementsruntimeEdition - the Mule Runtime Edition, this will be used to decide if generate CE or EE codepublic ScaffolderReport run(List<org.apache.maven.model.Dependency> dependencyList, ScaffolderResourceLoader scaffolderResourceLoader, File appDir, File domainDir, String minMuleVersion, RuntimeEdition runtimeEdition)
dependencyList - the dependencies that contains the raml files to which the scaffolder will be run onscaffolderResourceLoader - a resource to load the raml files from the gav listminMuleVersion - currently unused, will be useful in future improvementsruntimeEdition - the Mule Runtime Edition, this will be used to decide if generate CE or EE codeCopyright © 2019. All rights reserved.