org.apache.maven.plugin.registry
Class Plugin

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

public class Plugin
extends TrackableBase
implements Serializable

Policy for updating a single plugin.

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

Field Summary
static 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(String string)
          Method addRejectedVersion
 String getArtifactId()
          Get null
 String getGroupId()
          Get null
 String getKey()
           
 String getLastChecked()
          Get [format: yyyy-MM-dd.HH:mm:ss Z] Specifies the date/time at which this plugin was last checked.
 String getModelEncoding()
           
 List getRejectedVersions()
          Method getRejectedVersions
 String getUseVersion()
          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 null
 void setGroupId(String groupId)
          Set null
 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 setModelEncoding(String modelEncoding)
           
 void setRejectedVersions(List 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
 
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 String LAST_CHECKED_DATE_FORMAT
See Also:
Constant Field Values
Constructor Detail

Plugin

public Plugin()
Method Detail

addRejectedVersion

public void addRejectedVersion(String string)
Method addRejectedVersion

Parameters:
string -

getArtifactId

public String getArtifactId()
Get null


getGroupId

public String getGroupId()
Get null


getLastChecked

public String getLastChecked()
Get [format: yyyy-MM-dd.HH:mm:ss Z] Specifies the date/time at which this plugin was last checked.


getRejectedVersions

public List getRejectedVersions()
Method getRejectedVersions


getUseVersion

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


removeRejectedVersion

public void removeRejectedVersion(String string)
Method removeRejectedVersion

Parameters:
string -

setArtifactId

public void setArtifactId(String artifactId)
Set null

Parameters:
artifactId -

setGroupId

public void setGroupId(String groupId)
Set null

Parameters:
groupId -

setLastChecked

public void setLastChecked(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(List rejectedVersions)
Set The list of versions for this plugin that the user declined to "install"

Parameters:
rejectedVersions -

setUseVersion

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

Parameters:
useVersion -

getKey

public String getKey()

setModelEncoding

public void setModelEncoding(String modelEncoding)
Overrides:
setModelEncoding in class TrackableBase

getModelEncoding

public String getModelEncoding()
Overrides:
getModelEncoding in class TrackableBase


Copyright 2001-2006 Apache Software Foundation. All Rights Reserved.