Package org.wso2.maven
Class CAppHandler
- java.lang.Object
-
- java.util.Observable
-
- org.wso2.maven.core.model.AbstractManifest
-
- org.wso2.maven.core.model.AbstractXMLDoc
-
- org.wso2.maven.CAppHandler
-
public class CAppHandler extends AbstractXMLDoc
-
-
Field Summary
-
Fields inherited from class org.wso2.maven.core.model.AbstractXMLDoc
factory
-
-
Constructor Summary
Constructors Constructor Description CAppHandler(String cAppName, CARMojo mojoInstance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcreateDependencyDescriptorFile(String archiveDirectory, org.apache.maven.project.MavenProject project)Creates the `descriptor.xml` file in the specified archive directory.protected voiddeserialize(org.apache.axiom.om.OMElement documentElement)protected StringgetDefaultName()protected Stringserialize()-
Methods inherited from class org.wso2.maven.core.model.AbstractXMLDoc
addAttribute, deserialize, deserialize, deserialize, getAttribute, getChildElements, getElement, getElement, getFirstChildWithName, getPretifiedString, prettify, toString
-
Methods inherited from class org.wso2.maven.core.model.AbstractManifest
toFile, toFile
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Method Detail
-
createDependencyDescriptorFile
public void createDependencyDescriptorFile(String archiveDirectory, org.apache.maven.project.MavenProject project)
Creates the `descriptor.xml` file in the specified archive directory. This file contains the dependencies of the Composite Application (CApp).- Parameters:
archiveDirectory- The path to the archive directory where the `descriptor.xml` file will be created.project- The Maven project for which the dependency descriptor is generated.
-
deserialize
protected void deserialize(org.apache.axiom.om.OMElement documentElement) throws Exception- Specified by:
deserializein classAbstractXMLDoc- Throws:
Exception
-
serialize
protected String serialize() throws Exception
- Specified by:
serializein classAbstractXMLDoc- Throws:
Exception
-
getDefaultName
protected String getDefaultName()
- Specified by:
getDefaultNamein classAbstractManifest
-
-