com.sun.istack.test
Class VersionProcessor

java.lang.Object
  extended by com.sun.istack.test.VersionProcessor

public final class VersionProcessor
extends java.lang.Object

Represents a range of versions.

Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Field Summary
static VersionProcessor DEFAULT
          Default VersionProcessor that accepts any version.
 
Constructor Summary
VersionProcessor(Document testSpecMeta)
           
VersionProcessor(java.lang.String sinceValue, java.lang.String untilValue, java.lang.String excludeFromValue)
           
 
Method Summary
 boolean isApplicable(VersionNumber v)
          Checks if the test is valid against the JAXB RI of the specified version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT

public static final VersionProcessor DEFAULT
Default VersionProcessor that accepts any version.

Constructor Detail

VersionProcessor

public VersionProcessor(java.lang.String sinceValue,
                        java.lang.String untilValue,
                        java.lang.String excludeFromValue)

VersionProcessor

public VersionProcessor(Document testSpecMeta)
Method Detail

isApplicable

public boolean isApplicable(VersionNumber v)
Checks if the test is valid against the JAXB RI of the specified version.