com.sun.istack.test.VersionProcessor Maven / Gradle / Ivy
/*
* Copyright (c) 1997, 2019 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
package com.sun.istack.test;
import java.util.HashSet;
import java.util.Set;
import java.util.StringTokenizer;
import org.w3c.dom.Document;
import org.w3c.dom.Element;
/**
* Represents a range of versions.
*
* @author
* Kohsuke Kawaguchi ([email protected])
*/
public final class VersionProcessor {
/**
* This test is only applicable to the RI of this version or later.
* can be null.
*/
private final VersionNumber since;
/**
* This test is only applicable to the RI of this version or younger.
* can be null.
*/
private final VersionNumber until;
/**
* This test shall be excluded from the RI of versions listed here.
*/
private final Set