Class Plugin
java.lang.Object
org.apache.maven.plugin.registry.TrackableBase
org.apache.maven.plugin.registry.Plugin
- All Implemented Interfaces:
Serializable
Policy for updating a single plugin.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
FieldsFields inherited from class TrackableBase
GLOBAL_LEVEL, USER_LEVEL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRejectedVersion(String string) Method addRejectedVersion.Get the artifactId field.Get the groupId field.getKey()Get [format: yyyy-MM-dd.HH:mm:ss Z] Specifies the date/time at which this plugin was last checked.Method getRejectedVersions.Get the current version of this plugin, to be used until the appropriate update actions happen.voidremoveRejectedVersion(String string) Method removeRejectedVersion.voidsetArtifactId(String artifactId) Set the artifactId field.voidsetGroupId(String groupId) Set the groupId field.voidsetLastChecked(String lastChecked) Set [format: yyyy-MM-dd.HH:mm:ss Z] Specifies the date/time at which this plugin was last checked.voidsetRejectedVersions(List<String> rejectedVersions) Set the list of versions for this plugin that the user declined to "install".voidsetUseVersion(String useVersion) Set the current version of this plugin, to be used until the appropriate update actions happen.Methods inherited from class TrackableBase
getSourceLevel, setSourceLevel
-
Field Details
-
LAST_CHECKED_DATE_FORMAT
- See Also:
-
-
Constructor Details
-
Plugin
public Plugin()
-
-
Method Details
-
addRejectedVersion
Method addRejectedVersion.- Parameters:
string- a string object.
-
getArtifactId
-
getGroupId
-
getLastChecked
Get [format: yyyy-MM-dd.HH:mm:ss Z] Specifies the date/time at which this plugin was last checked.- Returns:
- String
-
getRejectedVersions
-
getUseVersion
Get the current version of this plugin, to be used until the appropriate update actions happen.- Returns:
- String
-
removeRejectedVersion
Method removeRejectedVersion.- Parameters:
string- a string object.
-
setArtifactId
Set the artifactId field.- Parameters:
artifactId- a artifactId object.
-
setGroupId
Set the groupId field.- Parameters:
groupId- a groupId object.
-
setLastChecked
Set [format: yyyy-MM-dd.HH:mm:ss Z] Specifies the date/time at which this plugin was last checked.- Parameters:
lastChecked- a lastChecked object.
-
setRejectedVersions
-
setUseVersion
Set the current version of this plugin, to be used until the appropriate update actions happen.- Parameters:
useVersion- a useVersion object.
-
getKey
-