public static final class ExcludeList.Entry
extends java.lang.Object
implements java.lang.Comparable
Constructor and Description |
---|
Entry(java.lang.String u,
java.lang.String tc,
int[] b,
java.lang.String[] p,
java.lang.String s)
Deprecated.
use constructor with String[] bugIDs instead
|
Entry(java.lang.String u,
java.lang.String tc,
java.lang.String[] b,
java.lang.String[] p,
java.lang.String s)
Create an ExcludeList entry.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(java.lang.Object o) |
boolean |
equals(java.lang.Object o)
Compare this entry against another.
|
int[] |
getBugIds()
Deprecated.
use getBugIdStrings() instead
|
java.lang.String[] |
getBugIdStrings()
Get the set of bug IDs referenced by this entry.
|
java.lang.String[] |
getPlatforms()
Get the set of platforms or keywords associated with this entry.
|
java.lang.String |
getRelativeURL()
Get the relative URL identifying the test referenced by this entry.
|
java.lang.String |
getSynopsis()
Get a short description associated with this entry.
|
java.lang.String[] |
getTestCaseList()
Get the same data as getTestCases(), but split into many Strings
This method is costly, so use with care.
|
java.lang.String |
getTestCases()
Get the (possibly empty) list of test cases for this entry.
|
int |
hashCode() |
static ExcludeList.Entry |
read(java.lang.String text)
Create an entry from a string.
|
java.lang.String |
toString() |
public Entry(java.lang.String u, java.lang.String tc, java.lang.String[] b, java.lang.String[] p, java.lang.String s)
u
- The URL for the test, specified relative to the test suite root.tc
- One or more test cases within the test to be excluded.b
- An array of bug identifiers, justifying why the test is excluded.p
- An array of platform identifiers, on which the faults are
known to occurs
- A short synopsis of the reasons why the test is excluded.public Entry(java.lang.String u, java.lang.String tc, int[] b, java.lang.String[] p, java.lang.String s)
u
- The URL for the test, specified relative to the test suite root.tc
- One or more test cases within the test to be excluded.b
- An array of bug numbers, justifying why the test is excluded.p
- An array of platform identifiers, on which the faults are
known to occurs
- A short synopsis of the reasons why the test is excluded.public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
public java.lang.String getRelativeURL()
public java.lang.String getTestCases()
public java.lang.String[] getTestCaseList()
public int[] getBugIds()
public java.lang.String[] getBugIdStrings()
public java.lang.String[] getPlatforms()
public java.lang.String getSynopsis()
public static ExcludeList.Entry read(java.lang.String text) throws ExcludeList.Fault
text
- The text to be readExcludeList.Fault
- if there is a problem reading the entry.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to compare againstpublic int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.