public class Profile extends Object implements Serializable
Constructor and Description |
---|
Profile() |
Modifier and Type | Method and Description |
---|---|
void |
addPluginRepository(Repository repository)
Method addPluginRepository.
|
void |
addProperty(String key,
String value)
Method addProperty.
|
void |
addRepository(Repository repository)
Method addRepository.
|
Activation |
getActivation()
Get the conditional logic which will automatically
trigger the inclusion of this profile.
|
String |
getId()
Get the ID of this build profile, for activation
purposes.
|
List<Repository> |
getPluginRepositories()
Method getPluginRepositories.
|
Properties |
getProperties()
Method getProperties.
|
List<Repository> |
getRepositories()
Method getRepositories.
|
void |
removePluginRepository(Repository repository)
Method removePluginRepository.
|
void |
removeRepository(Repository repository)
Method removeRepository.
|
void |
setActivation(Activation activation)
Set the conditional logic which will automatically
trigger the inclusion of this profile.
|
void |
setId(String id)
Set the ID of this build profile, for activation
purposes.
|
void |
setPluginRepositories(List<Repository> pluginRepositories)
Set the lists of the remote repositories for discovering
plugins.
|
void |
setProperties(Properties properties)
Set extended configuration specific to this profile goes
here.
|
void |
setRepositories(List<Repository> repositories)
Set the lists of the remote repositories.
|
public void addPluginRepository(Repository repository)
repository
- public void addProperty(String key, String value)
key
- value
- public void addRepository(Repository repository)
repository
- public Activation getActivation()
public String getId()
public List<Repository> getPluginRepositories()
public Properties getProperties()
public List<Repository> getRepositories()
public void removePluginRepository(Repository repository)
repository
- public void removeRepository(Repository repository)
repository
- public void setActivation(Activation activation)
activation
- public void setId(String id)
id
- public void setPluginRepositories(List<Repository> pluginRepositories)
pluginRepositories
- public void setProperties(Properties properties)
properties
- public void setRepositories(List<Repository> repositories)
repositories
- Copyright © 2001–2018 The Apache Software Foundation. All rights reserved.