public class MuleArtifactJsonModelUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static Charset |
MULE_ARTIFACT_DEFAULT_CHARSET |
| Constructor and Description |
|---|
MuleArtifactJsonModelUtils() |
| Modifier and Type | Method and Description |
|---|---|
static MuleArtifactJsonModel |
buildMinimalMuleArtifactJson(String minMuleVersion)
Builds a minimal mule-artifact.json representational model with the specified name.
|
static MuleArtifactJsonModel |
buildMinimalMuleArtifactJson(String minMuleVersion,
List<String> secureProperties)
Builds a minimal mule-artifact.json representational model with the specified name.
|
static MuleArtifactJsonModel |
buildMule4ArtifactJson(String name,
Collection<Path> configs,
String muleVersion)
Builds a minimal mule-artifact.json representational model with the specified name.
|
static MuleArtifactJsonModel |
buildMuleArtifactJson(Path muleArtifactJson)
Builds a mule-artifact.json representational model from the specified path.
|
public static final Charset MULE_ARTIFACT_DEFAULT_CHARSET
public static MuleArtifactJsonModel buildMule4ArtifactJson(String name, Collection<Path> configs, String muleVersion)
name - the name to be set in the mule artifact modelMuleArtifactJsonModelpublic static MuleArtifactJsonModel buildMinimalMuleArtifactJson(String minMuleVersion)
minMuleVersion - MuleArtifactJsonModelpublic static MuleArtifactJsonModel buildMinimalMuleArtifactJson(String minMuleVersion, List<String> secureProperties)
minMuleVersion - MuleArtifactJsonModelpublic static MuleArtifactJsonModel buildMuleArtifactJson(Path muleArtifactJson) throws IOException
MuleArtifactJsonModelIOExceptionCopyright © 2018 MuleSoft Inc. All rights reserved.