public class Profile extends ModelBase implements Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
static String |
SOURCE_POM |
static String |
SOURCE_SETTINGS |
Constructor and Description |
---|
Profile() |
Modifier and Type | Method and Description |
---|---|
Profile |
clone()
Method clone.
|
Activation |
getActivation()
Get the conditional logic which will automatically trigger
the inclusion of this
profile.
|
BuildBase |
getBuild()
Get information required to build the project.
|
String |
getId()
Get the identifier of this build profile.
|
String |
getSource() |
void |
setActivation(Activation activation)
Set the conditional logic which will automatically trigger
the inclusion of this
profile.
|
void |
setBuild(BuildBase build)
Set information required to build the project.
|
void |
setId(String id)
Set the identifier of this build profile.
|
void |
setSource(String source) |
String |
toString() |
addDependency, addModule, addPluginRepository, addProperty, addRepository, getDependencies, getDependencyManagement, getDistributionManagement, getLocation, getModules, getPluginRepositories, getProperties, getReporting, getReports, getRepositories, removeDependency, removeModule, removePluginRepository, removeRepository, setDependencies, setDependencyManagement, setDistributionManagement, setLocation, setModules, setPluginRepositories, setProperties, setReporting, setReports, setRepositories
public static final String SOURCE_POM
public static final String SOURCE_SETTINGS
public Profile()
public Activation getActivation()
public BuildBase getBuild()
public String getId()
public void setActivation(Activation activation)
activation
- public void setBuild(BuildBase build)
build
- public void setId(String id)
id
- public String toString()
toString
in class Object
Object.toString()
Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.