Class LooseApplication
- java.lang.Object
-
- io.openliberty.tools.common.plugins.config.LooseApplication
-
public abstract class LooseApplication extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected StringbuildDirectoryprotected LooseConfigDataconfig
-
Constructor Summary
Constructors Constructor Description LooseApplication(String buildDirectory, LooseConfigData config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ElementaddArchive(Element parent, String target)voidaddManifestFile(File manifestFile)voidaddManifestFile(File manifestFile, String destDir)voidaddManifestFileWithParent(Element parent, File manifestFile)voidaddManifestFileWithParent(Element parent, File manifestFile, String destDir)voidaddMetaInfFiles(Element parent, File outputDirectory)voidaddOutputDir(Element parent, File outputDirectory, String target)voidaddOutputDir(Element parent, Path outputDirectory, String target)LooseConfigDatagetConfig()ElementgetDocumentRoot()
-
-
-
Field Detail
-
buildDirectory
protected final String buildDirectory
-
config
protected final LooseConfigData config
-
-
Constructor Detail
-
LooseApplication
public LooseApplication(String buildDirectory, LooseConfigData config)
-
-
Method Detail
-
getConfig
public LooseConfigData getConfig()
-
getDocumentRoot
public Element getDocumentRoot()
-
addOutputDir
public void addOutputDir(Element parent, Path outputDirectory, String target) throws DOMException, IOException
- Throws:
DOMExceptionIOException
-
addOutputDir
public void addOutputDir(Element parent, File outputDirectory, String target) throws DOMException, IOException
- Throws:
DOMExceptionIOException
-
addMetaInfFiles
public void addMetaInfFiles(Element parent, File outputDirectory) throws Exception
- Throws:
Exception
-
addManifestFileWithParent
public void addManifestFileWithParent(Element parent, File manifestFile) throws Exception
- Throws:
Exception
-
addManifestFileWithParent
public void addManifestFileWithParent(Element parent, File manifestFile, String destDir) throws Exception
- Throws:
Exception
-
-