public class Archetype
extends java.lang.Object
implements java.io.Serializable
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 URL of 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 URL of the repository where to find the archetype.
|
void |
setVersion(java.lang.String version)
Set the version of the archetype.
|
java.lang.String |
toString() |
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.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.