org.apache.maven.plugin.registry
Class Plugin

java.lang.Object
  extended by org.apache.maven.plugin.registry.TrackableBase
      extended by org.apache.maven.plugin.registry.Plugin
All Implemented Interfaces:
java.io.Serializable

public class Plugin
extends TrackableBase
implements java.io.Serializable

Policy for updating a single plugin.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
static java.lang.String LAST_CHECKED_DATE_FORMAT
           
 
Fields inherited from class org.apache.maven.plugin.registry.TrackableBase
GLOBAL_LEVEL, USER_LEVEL
 
Constructor Summary
Plugin()
           
 
Method Summary
 void addRejectedVersion(java.lang.String string)
          Method addRejectedVersion.
 java.lang.String getArtifactId()
          Get the artifactId field.
 java.lang.String getGroupId()
          Get the groupId field.
 java.lang.String getKey()
           
 java.lang.String getLastChecked()
          Get [format: yyyy-MM-dd.HH:mm:ss Z] Specifies the date/time at which this plugin was last checked.
 java.util.List<java.lang.String> getRejectedVersions()
          Method getRejectedVersions.
 java.lang.String getUseVersion()
          Get the current version of this plugin, to be used until the appropriate update actions happen.
 void removeRejectedVersion(java.lang.String string)
          Method removeRejectedVersion.
 void setArtifactId(java.lang.String artifactId)
          Set the artifactId field.
 void setGroupId(java.lang.String groupId)
          Set the groupId field.
 void setLastChecked(java.lang.String lastChecked)
          Set [format: yyyy-MM-dd.HH:mm:ss Z] Specifies the date/time at which this plugin was last checked.
 void setRejectedVersions(java.util.List<java.lang.String> rejectedVersions)
          Set the list of versions for this plugin that the user declined to "install".
 void setUseVersion(java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LAST_CHECKED_DATE_FORMAT

public static final java.lang.String LAST_CHECKED_DATE_FORMAT
See Also:
Constant Field Values
Constructor Detail

Plugin

public Plugin()
Method Detail

addRejectedVersion

public void addRejectedVersion(java.lang.String string)
Method addRejectedVersion.

Parameters:
string -

getArtifactId

public java.lang.String getArtifactId()
Get the artifactId field.

Returns:
String

getGroupId

public java.lang.String getGroupId()
Get the groupId field.

Returns:
String

getLastChecked

public java.lang.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

public java.util.List<java.lang.String> getRejectedVersions()
Method getRejectedVersions.

Returns:
List

getUseVersion

public java.lang.String getUseVersion()
Get the current version of this plugin, to be used until the appropriate update actions happen.

Returns:
String

removeRejectedVersion

public void removeRejectedVersion(java.lang.String string)
Method removeRejectedVersion.

Parameters:
string -

setArtifactId

public void setArtifactId(java.lang.String artifactId)
Set the artifactId field.

Parameters:
artifactId -

setGroupId

public void setGroupId(java.lang.String groupId)
Set the groupId field.

Parameters:
groupId -

setLastChecked

public void setLastChecked(java.lang.String lastChecked)
Set [format: yyyy-MM-dd.HH:mm:ss Z] Specifies the date/time at which this plugin was last checked.

Parameters:
lastChecked -

setRejectedVersions

public void setRejectedVersions(java.util.List<java.lang.String> rejectedVersions)
Set the list of versions for this plugin that the user declined to "install".

Parameters:
rejectedVersions -

setUseVersion

public void setUseVersion(java.lang.String useVersion)
Set the current version of this plugin, to be used until the appropriate update actions happen.

Parameters:
useVersion -

getKey

public java.lang.String getKey()


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.