public class PropertiesDescriptorParser extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_CONFIG_RESOURCES |
static String |
PROPERTY_DOMAIN |
protected static String |
PROPERTY_ENCODING |
protected static String |
PROPERTY_LOG_CONFIG_FILE |
static String |
PROPERTY_REDEPLOYMENT_ENABLED |
| Constructor and Description |
|---|
PropertiesDescriptorParser() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationDescriptor |
parse(File location,
File descriptor,
String artifactName)
Parses an artifact descriptor and creates a
DeployableArtifactDescriptor with the information from the descriptor. |
protected String |
toAbsoluteFile(String path,
File location)
Resolve a resource relative to an application root.
|
public static final String PROPERTY_REDEPLOYMENT_ENABLED
protected static final String PROPERTY_ENCODING
public static final String PROPERTY_DOMAIN
public static final String PROPERTY_CONFIG_RESOURCES
protected static final String PROPERTY_LOG_CONFIG_FILE
public ApplicationDescriptor parse(File location, File descriptor, String artifactName) throws IOException
DeployableArtifactDescriptor with the information from the descriptor.location - the location of the artifact. This is the folder where the artifact content is stored.descriptor - file that contains the descriptor contentartifactName - name of the artifactIOExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.