|
Fabric3 Webapp Plugin | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.fabric3.war.Dependency
public class Dependency
Represents a configured Fabric3 dependency for boot and extension libraries.
| Constructor Summary | |
|---|---|
Dependency()
Default constructor. |
|
Dependency(String groupId,
String artifactId,
String version)
Initializes the field. |
|
| Method Summary | |
|---|---|
org.apache.maven.artifact.Artifact |
getArtifact(org.apache.maven.artifact.factory.ArtifactFactory artifactFactory)
Gets the artifact using the specified artifact factory. |
String |
getArtifactId()
Returns the artifact id. |
String |
getGroupId()
Returns the group id. |
String |
getVersion()
Returns the version of dependency. |
boolean |
match(org.apache.maven.artifact.Artifact artifact)
Checks whether the specified artifact has the same artifact id. |
void |
setVersion(String version)
Sets the version for dependency. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Dependency()
public Dependency(String groupId,
String artifactId,
String version)
groupId - Group id.artifactId - Artifact id.version - Artifact version.| Method Detail |
|---|
public org.apache.maven.artifact.Artifact getArtifact(org.apache.maven.artifact.factory.ArtifactFactory artifactFactory)
artifactFactory - Artifact factory to use.
public boolean match(org.apache.maven.artifact.Artifact artifact)
artifact - Artifact to be matched.
public String getVersion()
public void setVersion(String version)
version - the version for dependencypublic String getArtifactId()
public String getGroupId()
|
Fabric3 Webapp Plugin | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||