|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.roo.project.Plugin
public class Plugin
Simplified immutable representation of a maven build plugin.
Structured after the model used by Maven.
Constructor Summary | |
---|---|
Plugin(Element plugin)
Convenience constructor when an XML element is available that represents a Maven |
|
Plugin(org.springframework.roo.model.JavaPackage groupId,
org.springframework.roo.model.JavaSymbolName artifactId,
String version)
Creates an immutable Plugin . |
|
Plugin(String groupId,
String artifactId,
String version)
Convenience constructor. |
|
Plugin(String groupId,
String artifactId,
String version,
Configuration configuration,
List<Dependency> dependencies,
List<Execution> executions)
Convenience constructor. |
Method Summary | |
---|---|
int |
compareTo(Plugin o)
|
boolean |
equals(Object obj)
|
org.springframework.roo.model.JavaSymbolName |
getArtifactId()
|
Configuration |
getConfiguration()
|
List<Dependency> |
getDependencies()
|
List<Execution> |
getExecutions()
|
org.springframework.roo.model.JavaPackage |
getGroupId()
|
String |
getVersion()
|
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Plugin(org.springframework.roo.model.JavaPackage groupId, org.springframework.roo.model.JavaSymbolName artifactId, String version)
Plugin
.
groupId
- the group ID (required)artifactId
- the artifact ID (required)version
- the version (required)public Plugin(String groupId, String artifactId, String version)
groupId
- the group ID (required)artifactId
- the artifact ID (required)version
- the version (required)public Plugin(String groupId, String artifactId, String version, Configuration configuration, List<Dependency> dependencies, List<Execution> executions)
groupId
- the group ID (required)artifactId
- the artifact ID (required)version
- the version (required)configuration
- the configuration for this plugin (optional)dependencies
- the dependencies for this plugin (optional)executions
- the executions for this plugin (optional)public Plugin(Element plugin)
plugin
- to parse (required)Method Detail |
---|
public org.springframework.roo.model.JavaPackage getGroupId()
public org.springframework.roo.model.JavaSymbolName getArtifactId()
public String getVersion()
public Configuration getConfiguration()
public List<Dependency> getDependencies()
public List<Execution> getExecutions()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public int compareTo(Plugin o)
compareTo
in interface Comparable<Plugin>
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |