@Component(role=org.apache.maven.model.building.ModelProcessor.class) public class ExchangeModelProcessor extends Object implements org.apache.maven.model.building.ModelProcessor
| Modifier and Type | Field and Description |
|---|---|
static String |
MAVEN_FACADE_SYSTEM_PROPERTY |
static String |
ORG_ID_KEY |
static String |
PACKAGER_VERSION |
static String |
RAML_FRAGMENT |
| Constructor and Description |
|---|
ExchangeModelProcessor() |
| Modifier and Type | Method and Description |
|---|---|
File |
locatePom(File projectDirectory) |
org.apache.maven.model.Model |
read(File file,
Map<String,?> map) |
org.apache.maven.model.Model |
read(InputStream inputStream,
Map<String,?> map) |
org.apache.maven.model.Model |
read(Reader reader,
Map<String,?> options) |
void |
setModelLocator(org.apache.maven.model.locator.ModelLocator modelLocator) |
void |
setModelReader(org.apache.maven.model.io.ModelReader modelReader) |
static String |
toPomXml(File exchangeJson)
Helper method used by studio by reflection do not change the signature.
|
String |
toXmlString(org.apache.maven.model.Model mavenModel) |
public static final String ORG_ID_KEY
public static final String RAML_FRAGMENT
public static final String PACKAGER_VERSION
public static final String MAVEN_FACADE_SYSTEM_PROPERTY
public void setModelReader(org.apache.maven.model.io.ModelReader modelReader)
public void setModelLocator(org.apache.maven.model.locator.ModelLocator modelLocator)
public File locatePom(File projectDirectory)
locatePom in interface org.apache.maven.model.locator.ModelLocatorpublic org.apache.maven.model.Model read(File file, Map<String,?> map) throws IOException, org.apache.maven.model.io.ModelParseException
read in interface org.apache.maven.model.io.ModelReaderIOExceptionorg.apache.maven.model.io.ModelParseExceptionpublic org.apache.maven.model.Model read(InputStream inputStream, Map<String,?> map) throws IOException, org.apache.maven.model.io.ModelParseException
read in interface org.apache.maven.model.io.ModelReaderIOExceptionorg.apache.maven.model.io.ModelParseExceptionpublic org.apache.maven.model.Model read(Reader reader, Map<String,?> options) throws IOException, org.apache.maven.model.io.ModelParseException
read in interface org.apache.maven.model.io.ModelReaderIOExceptionorg.apache.maven.model.io.ModelParseExceptionpublic static String toPomXml(File exchangeJson) throws IOException
exchangeJson - IOExceptionpublic String toXmlString(org.apache.maven.model.Model mavenModel) throws IOException
IOExceptionCopyright © 2020 MuleSoft, Inc.. All rights reserved.