public class Archetype extends Object implements Serializable
| Constructor and Description |
|---|
Archetype() |
| Modifier and Type | Method and Description |
|---|---|
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() |
public void addGoal(String string)
string - public void addProperty(String key, String value)
key - value - public String getArtifactId()
public String getDescription()
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 - Copyright © 2007-2017 The Apache Software Foundation. All Rights Reserved.