public class NarInfo extends Object
Modifier and Type | Field and Description |
---|---|
static String |
NAR_PROPERTIES |
Constructor and Description |
---|
NarInfo(String groupId,
String artifactId,
String version,
org.apache.maven.plugin.logging.Log log) |
NarInfo(String groupId,
String artifactId,
String version,
org.apache.maven.plugin.logging.Log log,
File propertiesFile) |
Modifier and Type | Method and Description |
---|---|
void |
addNar(AOL aol,
String type,
String nar) |
boolean |
exists(JarFile jar) |
AOL |
getAOL(AOL aol) |
String[] |
getAttachedNars(AOL aol,
String type) |
String |
getBinding(AOL aol,
String defaultBinding)
No binding means default binding.
|
String |
getExactProperty(AOL aol,
String key,
String defaultValue) |
String |
getLibs(AOL aol) |
String |
getNarInfoFileName() |
String |
getOptions(AOL aol) |
String |
getOutput(AOL aol,
String defaultOutput) |
String |
getProperty(AOL aol,
String key) |
boolean |
getProperty(AOL aol,
String key,
boolean defaultValue) |
File |
getProperty(AOL aol,
String key,
File defaultValue) |
int |
getProperty(AOL aol,
String key,
int defaultValue) |
String |
getProperty(AOL aol,
String key,
String defaultValue) |
String |
getSysLibs(AOL aol) |
void |
read(JarFile jar) |
void |
setBinding(AOL aol,
String value) |
void |
setNar(AOL aol,
String type,
String nar) |
void |
setOutput(AOL aol,
String value) |
String |
toString() |
void |
writeToDirectory(File directory) |
void |
writeToFile(File file) |
public static final String NAR_PROPERTIES
public NarInfo(String groupId, String artifactId, String version, org.apache.maven.plugin.logging.Log log) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public final boolean exists(JarFile jar)
public final void read(JarFile jar) throws IOException
IOException
public String getNarInfoFileName()
public final String getBinding(AOL aol, String defaultBinding)
aol
- public final void writeToDirectory(File directory) throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionException
public final void writeToFile(File file) throws IOException
IOException
Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.