public class AstGenerator extends Object
| Constructor and Description |
|---|
AstGenerator(org.mule.maven.client.api.MavenClient mavenClient,
String runtimeVersion,
Set<org.apache.maven.artifact.Artifact> allDependencies,
Path workingDir,
org.codehaus.plexus.classworlds.realm.ClassRealm classRealm,
List<org.apache.maven.model.Dependency> directDependencies) |
AstGenerator(org.mule.maven.client.api.MavenClient mavenClient,
String runtimeVersion,
Set<org.apache.maven.artifact.Artifact> allDependencies,
Path workingDir,
org.codehaus.plexus.classworlds.realm.ClassRealm classRealm,
List<org.apache.maven.model.Dependency> directDependencies,
Boolean asApplication) |
| Modifier and Type | Method and Description |
|---|---|
org.mule.runtime.ast.api.ArtifactAst |
generateAST(List<String> configs,
Path configsPath) |
void |
processDependency(org.apache.maven.model.Dependency dependency,
ClassLoader classloader,
org.mule.maven.client.api.MavenClient mavenClient,
String runtimeVersion,
Path workingDir,
Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionModels,
ArrayList<URL> dependenciesURL,
ExtensionModelLoader loader) |
static InputStream |
serialize(org.mule.runtime.ast.api.ArtifactAst artifactAst) |
static org.mule.maven.pom.parser.api.model.BundleDescriptor |
toBundleDescriptor(org.apache.maven.model.Dependency dependency) |
AstValidatonResult |
validateAST(org.mule.runtime.ast.api.ArtifactAst artifactAst) |
public AstGenerator(org.mule.maven.client.api.MavenClient mavenClient,
String runtimeVersion,
Set<org.apache.maven.artifact.Artifact> allDependencies,
Path workingDir,
org.codehaus.plexus.classworlds.realm.ClassRealm classRealm,
List<org.apache.maven.model.Dependency> directDependencies)
public AstGenerator(org.mule.maven.client.api.MavenClient mavenClient,
String runtimeVersion,
Set<org.apache.maven.artifact.Artifact> allDependencies,
Path workingDir,
org.codehaus.plexus.classworlds.realm.ClassRealm classRealm,
List<org.apache.maven.model.Dependency> directDependencies,
Boolean asApplication)
public static org.mule.maven.pom.parser.api.model.BundleDescriptor toBundleDescriptor(org.apache.maven.model.Dependency dependency)
public org.mule.runtime.ast.api.ArtifactAst generateAST(List<String> configs, Path configsPath) throws FileNotFoundException
FileNotFoundExceptionpublic void processDependency(org.apache.maven.model.Dependency dependency,
ClassLoader classloader,
org.mule.maven.client.api.MavenClient mavenClient,
String runtimeVersion,
Path workingDir,
Set<org.mule.runtime.api.meta.model.ExtensionModel> extensionModels,
ArrayList<URL> dependenciesURL,
ExtensionModelLoader loader)
public AstValidatonResult validateAST(org.mule.runtime.ast.api.ArtifactAst artifactAst) throws ConfigurationException
ConfigurationExceptionpublic static InputStream serialize(org.mule.runtime.ast.api.ArtifactAst artifactAst)
Copyright © 2024 MuleSoft Inc. All rights reserved.