public class JarResource extends Object
Constructor and Description |
---|
JarResource() |
Modifier and Type | Method and Description |
---|---|
String |
getArtifactId()
Returns the value of the artifactId field.
|
String |
getClassifier()
Returns the value of the classifier field.
|
String |
getGroupId()
Returns the value of the groupId field.
|
String |
getHrefValue()
Returns the value that should be output for this jar in the href attribute of the
jar resource element in the generated JNLP file.
|
String |
getMainClass()
Returns the fully qualified class name of the JNLP application's 'main' class but
only if it is contained in the jar represented by this instance.
|
String |
getType()
Returns the value of the type field.
|
String |
getVersion()
Returns the value of the version field.
|
boolean |
isIncludeInJnlp()
Returns the flag that indicates whether or not this resource should be included
in the generated JNLP file.
|
boolean |
isMandatoryField() |
boolean |
isOutputJarVersion()
Returns the flag that indicates whether or not the jar resource
element in the generated JNLP file should include a version attribute.
|
protected void |
setOutputJarVersion(boolean outputJarVersion)
Sets the flag that indicates whether or not the jar resource
element in the generated JNLP file should include a version attribute.
|
String |
toString() |
public String getArtifactId()
public String getType()
public String getClassifier()
public String getGroupId()
public String getVersion()
public String getMainClass()
public boolean isMandatoryField()
protected void setOutputJarVersion(boolean outputJarVersion)
outputJarVersion
- new value of field outputJarVersion
public boolean isOutputJarVersion()
public boolean isIncludeInJnlp()
public String getHrefValue()
Copyright © 2005–2016 MojoHaus. All rights reserved.