org.codehaus.mojo.versions.model
Class IgnoreVersion

java.lang.Object
  extended by org.codehaus.mojo.versions.model.IgnoreVersion
All Implemented Interfaces:
Serializable

public class IgnoreVersion
extends Object
implements Serializable

A version to ignore.

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

Constructor Summary
IgnoreVersion()
           
 
Method Summary
 String getType()
          Get the type of ignore mechanism to use.
 String getVersion()
          Get a version number or a regular expression for version numbers that should be ignored.
 void setType(String type)
          Set the type of ignore mechanism to use.
 void setVersion(String version)
          Set a version number or a regular expression for version numbers that should be ignored.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IgnoreVersion

public IgnoreVersion()
Method Detail

getType

public String getType()
Get the type of ignore mechanism to use. Allowed values are 'exact' and 'regex'.

Returns:
String

getVersion

public String getVersion()
Get a version number or a regular expression for version numbers that should be ignored.

Returns:
String

setType

public void setType(String type)
Set the type of ignore mechanism to use. Allowed values are 'exact' and 'regex'.

Parameters:
type -

setVersion

public void setVersion(String version)
Set a version number or a regular expression for version numbers that should be ignored.

Parameters:
version -

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2008-2012 Codehaus. All Rights Reserved.