public class ScaffolderAPI extends Object
| Constructor and Description |
|---|
ScaffolderAPI() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(List<File> ramlFiles,
File appDir,
File domainDir,
String muleVersion)
Modifies or creates the Mule config files which are contained in the appDir directory
by running the scaffolder on the ramlFiles passed as parameter.
|
void |
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.
|
void |
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.
|
void |
run(List<File> ramlFiles,
File appDir,
File domainDir,
String muleVersion)
Looks for an extension point and executes it, relying on the execute method otherwise.
|
public void 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 void 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 void run(List<File> ramlFiles, File appDir, File domainDir, String muleVersion)
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 filesmuleVersion - used to know which type of endpoint (InboundEndpoint or Listener) that the scaffolder should create in case the xml is not provided. If this param is null, listeners will be used.public void execute(List<File> ramlFiles, File appDir, File domainDir, String muleVersion)
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 filesmuleVersion - used to know which type of endpoint (InboundEndpoint or Listener) that the scaffolder should create in case the xml is not provided. If this param is null, listeners will be used.Copyright © 2022. All rights reserved.