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
FieldsModifier and TypeFieldDescriptionprivate String
Field artifactId.private String
Field groupId.static final String
private String
[format: yyyy-MM-dd.HH:mm:ss Z] Specifies the date/time at which this plugin was last checked.Field rejectedVersions.private String
The current version of this plugin, to be used until the appropriate update actions happen.Fields 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
-
groupId
Field groupId. -
artifactId
Field artifactId. -
lastChecked
[format: yyyy-MM-dd.HH:mm:ss Z] Specifies the date/time at which this plugin was last checked. -
useVersion
The current version of this plugin, to be used until the appropriate update actions happen. -
rejectedVersions
Field rejectedVersions. -
LAST_CHECKED_DATE_FORMAT
- See Also:
-
-
Constructor Details
-
Plugin
public Plugin()
-
-
Method Details
-
addRejectedVersion
Method addRejectedVersion.- Parameters:
string
-
-
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
-
-
setArtifactId
Set the artifactId field.- Parameters:
artifactId
-
-
setGroupId
Set the groupId field.- Parameters:
groupId
-
-
setLastChecked
Set [format: yyyy-MM-dd.HH:mm:ss Z] Specifies the date/time at which this plugin was last checked.- Parameters:
lastChecked
-
-
setRejectedVersions
Set the list of versions for this plugin that the user declined to "install".- Parameters:
rejectedVersions
-
-
setUseVersion
Set the current version of this plugin, to be used until the appropriate update actions happen.- Parameters:
useVersion
-
-
getKey
-