|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.archetype.catalog.Archetype
public class Archetype
Informations to point to an Archetype referenced in the catalog.
Constructor Summary | |
---|---|
Archetype()
|
Method Summary | |
---|---|
void |
addGoal(String string)
Method addGoal. |
void |
addProperty(String key,
String value)
Method addProperty. |
boolean |
equals(Object object)
|
String |
getArtifactId()
Get the artifactId of the archetype. |
String |
getDescription()
Get the description of the archetype. |
List<String> |
getGoals()
Method getGoals. |
String |
getGroupId()
Get the groupId of the archetype. |
Properties |
getProperties()
Method getProperties. |
String |
getRepository()
Get the repository where to find the archetype. |
String |
getVersion()
Get the version of the archetype. |
int |
hashCode()
|
void |
removeGoal(String string)
Method removeGoal. |
void |
setArtifactId(String artifactId)
Set the artifactId of the archetype. |
void |
setDescription(String description)
Set the description of the archetype. |
void |
setGoals(List<String> goals)
Set goals to execute after the creation of the project. |
void |
setGroupId(String groupId)
Set the groupId of the archetype. |
void |
setProperties(Properties properties)
Set properties that will be used during the execution of addition goals after the creation of the project. |
void |
setRepository(String repository)
Set the repository where to find the archetype. |
void |
setVersion(String version)
Set the version of the archetype. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Archetype()
Method Detail |
---|
public void addGoal(String string)
string
- public void addProperty(String key, String value)
key
- value
- public String getArtifactId()
public String getDescription()
public List<String> getGoals()
public String getGroupId()
public Properties getProperties()
public String getRepository()
public String getVersion()
RELEASE
is a
valid version.
public void removeGoal(String string)
string
- public void setArtifactId(String artifactId)
artifactId
- public void setDescription(String description)
description
- public void setGoals(List<String> goals)
goals
- public void setGroupId(String groupId)
groupId
- public void setProperties(Properties properties)
properties
- public void setRepository(String repository)
repository
- public void setVersion(String version)
RELEASE
is a
valid version.
version
- public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object object)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |