Package org.apache.maven.settings
Class Profile
java.lang.Object
org.apache.maven.settings.BaseObject
org.apache.maven.settings.TrackableBase
org.apache.maven.settings.IdentifiableBase
org.apache.maven.settings.Profile
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.maven.settings.BaseObject
BaseObject.ChildrenTracking
-
Field Summary
Fields inherited from class org.apache.maven.settings.TrackableBase
GLOBAL_LEVEL, USER_LEVEL
Fields inherited from class org.apache.maven.settings.BaseObject
childrenTracking, delegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addPluginRepository
(Repository pluginRepository) void
addProperty
(String key, String value) void
addRepository
(Repository repository) clone()
boolean
int
hashCode()
profileToApiV3
(List<Profile> list) profileToApiV4
(List<Profile> list) void
removePluginRepository
(Repository pluginRepository) void
removeRepository
(Repository repository) protected boolean
void
setActivation
(Activation activation) void
setPluginRepositories
(List<Repository> pluginRepositories) void
setProperties
(Properties properties) void
setRepositories
(List<Repository> repositories) Methods inherited from class org.apache.maven.settings.IdentifiableBase
getId, identifiableBaseToApiV3, identifiableBaseToApiV4, setId
Methods inherited from class org.apache.maven.settings.TrackableBase
getSourceLevel, setSourceLevel, trackableBaseToApiV3, trackableBaseToApiV4
Methods inherited from class org.apache.maven.settings.BaseObject
update
-
Constructor Details
-
Profile
public Profile() -
Profile
-
Profile
-
-
Method Details
-
clone
- Overrides:
clone
in classIdentifiableBase
-
getDelegate
- Overrides:
getDelegate
in classIdentifiableBase
-
equals
- Overrides:
equals
in classIdentifiableBase
-
hashCode
public int hashCode()- Overrides:
hashCode
in classIdentifiableBase
-
getActivation
-
setActivation
-
getProperties
-
setProperties
-
addProperty
-
getRepositories
-
setRepositories
-
addRepository
-
removeRepository
-
getPluginRepositories
-
setPluginRepositories
-
addPluginRepository
-
removePluginRepository
-
replace
- Overrides:
replace
in classIdentifiableBase
-
profileToApiV4
-
profileToApiV3
-