public class ApplicationConfiguration extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
APPLICATION_NS |
static String |
ARTIFACTS_XML |
static String |
FEATURE_POSTFIX |
| Constructor and Description |
|---|
ApplicationConfiguration(CarbonAppPersistenceManager capm,
InputStream xmlInputStream)
Constructor builds the cApp configuration by reading the artifacts.xml file from the
provided xml input stream.
|
ApplicationConfiguration(CarbonAppPersistenceManager capm,
String appXmlPath)
Constructor builds the cApp configuration by reading the artifacts.xml file from the
provided path.
|
| Modifier and Type | Method and Description |
|---|---|
Artifact |
getApplicationArtifact() |
String |
getAppName() |
String |
getAppNameWithVersion() |
String |
getAppVersion() |
public static final String ARTIFACTS_XML
public static final String FEATURE_POSTFIX
public static final String APPLICATION_NS
public ApplicationConfiguration(CarbonAppPersistenceManager capm, String appXmlPath) throws org.wso2.carbon.CarbonException
capm - - persistance managerappXmlPath - - absolute path to artifacts.xml fileorg.wso2.carbon.CarbonException - - error while reading artifacts.xmlpublic ApplicationConfiguration(CarbonAppPersistenceManager capm, InputStream xmlInputStream) throws org.wso2.carbon.CarbonException
capm - - persistance managerxmlInputStream - - input stream of the artifacts.xmlorg.wso2.carbon.CarbonException - - error while reading artifacts.xmlCopyright © 2018 WSO2 Inc. All rights reserved.