Class MuleArtifactAstLoader
- java.lang.Object
-
- com.mulesoft.runtime.ang.introspector.MuleArtifactAstLoader
-
public class MuleArtifactAstLoader extends Object
Loads anArtifactAstfrom an exploded Mule application.
-
-
Constructor Summary
Constructors Constructor Description MuleArtifactAstLoader(org.mule.runtime.container.api.ModuleRepository moduleRepository, org.slf4j.Logger log, boolean forceConfigParse)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.mule.runtime.ast.api.ArtifactAstloadFromArtifact(File explodedAppDir)Loads anArtifactAstfrom an exploded Mule application.
-
-
-
Constructor Detail
-
MuleArtifactAstLoader
public MuleArtifactAstLoader(org.mule.runtime.container.api.ModuleRepository moduleRepository, org.slf4j.Logger log, boolean forceConfigParse)- Parameters:
moduleRepository-log-forceConfigParse- if set totrue, any serialized AST present in the artifact will be ignored and the AST will be generated by parsing the config.
-
-
Method Detail
-
loadFromArtifact
public org.mule.runtime.ast.api.ArtifactAst loadFromArtifact(File explodedAppDir) throws IllegalArgumentException, IOException
Loads anArtifactAstfrom an exploded Mule application.- Parameters:
explodedAppDir- the directory where the muleApp is exploded- Returns:
- the loaded
ArtifactAstfor the Mule application. - Throws:
IllegalArgumentExceptionIOException
-
-