public class Archetype
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
artifactId
The artifactId of the archetype.
|
private java.lang.String |
description
The description of the archetype.
|
private java.util.List<java.lang.String> |
goals
Field goals.
|
private java.lang.String |
groupId
The groupId of the archetype.
|
private java.util.Properties |
properties
Field properties.
|
private java.lang.String |
repository
The repository where to find the archetype.
|
private java.lang.String |
version
The version of the archetype.
|
| Constructor and Description |
|---|
Archetype() |
| Modifier and Type | Method and Description |
|---|---|
void |
addGoal(java.lang.String string)
Method addGoal.
|
void |
addProperty(java.lang.String key,
java.lang.String value)
Method addProperty.
|
boolean |
equals(java.lang.Object object) |
java.lang.String |
getArtifactId()
Get the artifactId of the archetype.
|
java.lang.String |
getDescription()
Get the description of the archetype.
|
java.util.List<java.lang.String> |
getGoals()
Method getGoals.
|
java.lang.String |
getGroupId()
Get the groupId of the archetype.
|
java.util.Properties |
getProperties()
Method getProperties.
|
java.lang.String |
getRepository()
Get the repository where to find the archetype.
|
java.lang.String |
getVersion()
Get the version of the archetype.
|
int |
hashCode() |
void |
removeGoal(java.lang.String string)
Method removeGoal.
|
void |
setArtifactId(java.lang.String artifactId)
Set the artifactId of the archetype.
|
void |
setDescription(java.lang.String description)
Set the description of the archetype.
|
void |
setGoals(java.util.List<java.lang.String> goals)
Set goals to execute after the creation of the project.
|
void |
setGroupId(java.lang.String groupId)
Set the groupId of the archetype.
|
void |
setProperties(java.util.Properties properties)
Set properties that will be used during the execution of
addition goals after the creation of the project.
|
void |
setRepository(java.lang.String repository)
Set the repository where to find the archetype.
|
void |
setVersion(java.lang.String version)
Set the version of the archetype.
|
java.lang.String |
toString() |
private java.lang.String groupId
private java.lang.String artifactId
private java.lang.String version
RELEASE is a
valid version.private java.lang.String repository
private java.lang.String description
private java.util.List<java.lang.String> goals
private java.util.Properties properties
public void addGoal(java.lang.String string)
string - public void addProperty(java.lang.String key,
java.lang.String value)
key - value - public java.lang.String getArtifactId()
public java.lang.String getDescription()
public java.util.List<java.lang.String> getGoals()
public java.lang.String getGroupId()
public java.util.Properties getProperties()
public java.lang.String getRepository()
public java.lang.String getVersion()
RELEASE is a
valid version.public void removeGoal(java.lang.String string)
string - public void setArtifactId(java.lang.String artifactId)
artifactId - public void setDescription(java.lang.String description)
description - public void setGoals(java.util.List<java.lang.String> goals)
goals - public void setGroupId(java.lang.String groupId)
groupId - public void setProperties(java.util.Properties properties)
properties - public void setRepository(java.lang.String repository)
repository - public void setVersion(java.lang.String version)
RELEASE is a
valid version.version - public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object object)
equals in class java.lang.Object