Package org.mule.maven.exchange
Class ExchangeModelProcessor
java.lang.Object
org.mule.maven.exchange.ExchangeModelProcessor
- All Implemented Interfaces:
org.apache.maven.model.building.ModelProcessor,org.apache.maven.model.io.ModelReader,org.apache.maven.model.locator.ModelLocator
@Component(role=org.apache.maven.model.building.ModelProcessor.class)
public class ExchangeModelProcessor
extends Object
implements org.apache.maven.model.building.ModelProcessor
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from interface org.apache.maven.model.building.ModelProcessor
SOURCEFields inherited from interface org.apache.maven.model.io.ModelReader
INPUT_SOURCE, IS_STRICT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.model.Modelorg.apache.maven.model.Modelread(InputStream inputStream, Map<String, ?> map) org.apache.maven.model.ModelvoidsetModelLocator(org.apache.maven.model.locator.ModelLocator modelLocator) voidsetModelReader(org.apache.maven.model.io.ModelReader modelReader) static StringHelper method used by studio by reflection do not change the signature.toXmlString(org.apache.maven.model.Model mavenModel)
-
Field Details
-
ORG_ID_KEY
- See Also:
-
RAML_FRAGMENT
- See Also:
-
FAT_RULESET
- See Also:
-
VALIDATION_SCOPE
- See Also:
-
SCOPE_ADDITIONAL_PROPERTY_KEY
- See Also:
-
PACKAGER_VERSION
- See Also:
-
MAVEN_FACADE_SYSTEM_PROPERTY
- See Also:
-
MAVEN_FACADE_V2_SYSTEM_PROPERTY
- See Also:
-
-
Constructor Details
-
ExchangeModelProcessor
public ExchangeModelProcessor()
-
-
Method Details
-
setModelReader
public void setModelReader(org.apache.maven.model.io.ModelReader modelReader) -
setModelLocator
public void setModelLocator(org.apache.maven.model.locator.ModelLocator modelLocator) -
locatePom
- Specified by:
locatePomin interfaceorg.apache.maven.model.locator.ModelLocator
-
read
public org.apache.maven.model.Model read(File file, Map<String, ?> map) throws IOException, org.apache.maven.model.io.ModelParseException- Specified by:
readin interfaceorg.apache.maven.model.io.ModelReader- Throws:
IOExceptionorg.apache.maven.model.io.ModelParseException
-
read
public org.apache.maven.model.Model read(InputStream inputStream, Map<String, ?> map) throws IOException, org.apache.maven.model.io.ModelParseException- Specified by:
readin interfaceorg.apache.maven.model.io.ModelReader- Throws:
IOExceptionorg.apache.maven.model.io.ModelParseException
-
read
public org.apache.maven.model.Model read(Reader reader, Map<String, ?> options) throws IOException, org.apache.maven.model.io.ModelParseException- Specified by:
readin interfaceorg.apache.maven.model.io.ModelReader- Throws:
IOExceptionorg.apache.maven.model.io.ModelParseException
-
toPomXml
Helper method used by studio by reflection do not change the signature.- Parameters:
exchangeJson-- Returns:
- Throws:
IOException
-
toXmlString
- Throws:
IOException
-