Package org.apache.maven.plugin.registry
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 org.apache.maven.plugin.registry.TrackableBase
GLOBAL_LEVEL, USER_LEVEL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addRejectedVersion
(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.void
removeRejectedVersion
(String string) Method removeRejectedVersion.void
setArtifactId
(String artifactId) Set the artifactId field.void
setGroupId
(String groupId) Set the groupId field.void
setLastChecked
(String lastChecked) Set [format: yyyy-MM-dd.HH:mm:ss Z] Specifies the date/time at which this plugin was last checked.void
setRejectedVersions
(List<String> rejectedVersions) Set the list of versions for this plugin that the user declined to "install".void
setUseVersion
(String useVersion) Set the current version of this plugin, to be used until the appropriate update actions happen.Methods inherited from class org.apache.maven.plugin.registry.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
Get the artifactId field.- Returns:
- String
-
getGroupId
Get the groupId field.- Returns:
- String
-
getLastChecked
Get [format: yyyy-MM-dd.HH:mm:ss Z] Specifies the date/time at which this plugin was last checked.- Returns:
- String
-
getRejectedVersions
Method getRejectedVersions.- Returns:
- List
-
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
Set the list of versions for this plugin that the user declined to "install".- Parameters:
rejectedVersions
- a rejectedVersions object.
-
setUseVersion
Set the current version of this plugin, to be used until the appropriate update actions happen.- Parameters:
useVersion
- a useVersion object.
-
getKey
-