|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface Parameters.MutableKeywordsParameters
An interface providing abstract access to a keywords object which can be used to select tests according to their keywords.
| Field Summary | |
|---|---|
static int |
ALL_OF
A constant used to indicate that tests that match all of the given keywords should be selected. |
static int |
ANY_OF
A constant used to indicate that tests that match any of the given keywords should be selected. |
static int |
EXPR
A constant used to indicate that tests that match the given keyword expression should be selected. |
static int |
MATCH_KEYWORDS
A constant used to indicate that only tests matching the specified keywords should be selected. |
static int |
NO_KEYWORDS
A constant used to indicate that no keyword filtering should be used. |
| Method Summary | |
|---|---|
int |
getKeywordsMode()
Get the current keywords mode. |
int |
getMatchKeywordsMode()
Get a value which indicates how to interpret the match value, when the keywords mode is set to MATCH_KEYWORDS. |
java.lang.String |
getMatchKeywordsValue()
Get a value that identifies which tests are to be selected, when the keywords mode is set to MATCH_KEYWORDS. |
void |
setKeywords(int mode,
java.lang.String value)
Set the details of the keywords to be used, if any, to filter tests for execution. |
void |
setKeywordsMode(int mode)
Set the current keywords mode. |
void |
setMatchKeywords(int mode,
java.lang.String value)
Set how to match a tests keywords when the keywords mode is set to MATCH_KEYWORDS. |
| Methods inherited from interface com.sun.javatest.Parameters.KeywordsParameters |
|---|
getKeywords |
| Field Detail |
|---|
static final int NO_KEYWORDS
static final int MATCH_KEYWORDS
static final int ANY_OF
static final int ALL_OF
static final int EXPR
| Method Detail |
|---|
void setKeywords(int mode,
java.lang.String value)
mode - the value of the match keywords mode to be set if
value is not nullvalue - if null, the keywords mode will be set to NO_KEYWORDS;
if not null, the keywords mode will be set to MATCH_KEYWORDS, the
match keywords mode will be set to mode,
and the match keywords value will be set to this valueParameters.KeywordsParameters.getKeywords(),
NO_KEYWORDS,
MATCH_KEYWORDSint getKeywordsMode()
setKeywordsMode(int),
NO_KEYWORDS,
MATCH_KEYWORDSvoid setKeywordsMode(int mode)
mode - set to NO_KEYWORDS if no keyword filtering will be
used to select tests for execution, or MATCH_KEYWORDS if keywords
will be filtered according to the match mode and match value.getKeywordsMode(),
NO_KEYWORDS,
MATCH_KEYWORDSint getMatchKeywordsMode()
setMatchKeywords(int, java.lang.String),
ANY_OF,
ALL_OF,
EXPRjava.lang.String getMatchKeywordsValue()
setMatchKeywords(int, java.lang.String),
ANY_OF,
ALL_OF,
EXPR
void setMatchKeywords(int mode,
java.lang.String value)
mode - A value indicating how to interpret valuevalue - If mode is set to ANY_OF or ALL_OF,
this value should give a white-space separate list of keywords
to be matched; if mode is set to EXPR, this value
should be a boolean expression using terminals, & (and), | (or),
! (negation) and parentheses, where the terminals are true if
a test description contains that name as one of its keywords.getMatchKeywordsMode(),
getMatchKeywordsValue(),
ANY_OF,
ALL_OF,
EXPR
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||