public class ResolvedJarResource extends Object
Constructor and Description |
---|
ResolvedJarResource(org.apache.maven.artifact.Artifact artifact) |
ResolvedJarResource(JarResource jarResource,
org.apache.maven.artifact.Artifact artifact) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns true if the given object is a JarResource and has the same
combination of
groupId , artifactId ,
version and classifier . |
org.apache.maven.artifact.Artifact |
getArtifact()
Returns the underlying artifact that this instance represents.
|
String |
getArtifactId() |
String |
getClassifier() |
String |
getGroupId() |
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() |
String |
getType() |
String |
getVersion() |
int |
hashCode() |
boolean |
isIncludeInJnlp() |
boolean |
isOutputJarVersion() |
void |
setHrefValue(String hrefValue)
Sets the value that should be output for this jar in the href attribute of the
jar resource element in the generated JNLP file.
|
public ResolvedJarResource(org.apache.maven.artifact.Artifact artifact)
public ResolvedJarResource(JarResource jarResource, org.apache.maven.artifact.Artifact artifact)
public String getArtifactId()
public String getType()
public String getClassifier()
public String getGroupId()
public String getVersion()
public String getMainClass()
public boolean isOutputJarVersion()
public boolean isIncludeInJnlp()
public org.apache.maven.artifact.Artifact getArtifact()
public String getHrefValue()
public void setHrefValue(String hrefValue)
hrefValue
- new value for field hrefValue
public boolean equals(Object obj)
groupId
, artifactId
,
version
and classifier
.Copyright © 2005–2016 MojoHaus. All rights reserved.