|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Parameters.MutableExcludeListParameters
An interface providing abstract access to an exclude list, as defined by a set of files, defining tests to be excluded from the test run.
Field Summary | |
---|---|
static int |
CHECK_EVERY_RUN
A constant used to indicate that the website used to supply the latest exclude list should be checked on every test run to see if a newer version is available. |
static int |
CHECK_EVERY_X_DAYS
A constant used to indicate that the website used to supply the latest exclude list should be checked every so many days, to see if a newer version is available. |
static int |
CUSTOM_EXCLUDE_LIST
A constant used to indicate that a client-supplied set of exclude files should be used. |
static int |
INITIAL_EXCLUDE_LIST
A constant used to indicate that the default exclude list (if any) for the test suite should be used. |
static int |
LATEST_EXCLUDE_LIST
A constant used to indicate that the latest exclude list (if any) for the test suite should be used. |
static int |
NO_EXCLUDE_LIST
A constant used to indicate that no exclude list is required. |
Method Summary | |
---|---|
java.io.File[] |
getCustomExcludeFiles()
Get the files used to define the exclude list when the exclude list mode is set to CUSTOM_EXCLUDE_LIST. |
java.io.File[] |
getExcludeFiles()
Get the set of files which define the exclude list. |
int |
getExcludeMode()
Get the current exclude list mode. |
int |
getLatestExcludeAutoCheckInterval()
Get the interval, in days, to be used when automatically checking for exclude list updates and the auto check mode is set to CHECK_EVERY_X_DAYS. |
int |
getLatestExcludeAutoCheckMode()
Get the mode which defines how often to automatically check for updated exclude lists, when the exclude list mode is set to LATEST_EXCLUDE_LIST, and the automatic check is enabled. |
boolean |
isLatestExcludeAutoCheckEnabled()
Check if the automatic check for newer exclude lists is enabled when the exclude list mode is set to LATEST_EXCLUDE_LIST. |
void |
setCustomExcludeFiles(java.io.File[] files)
Set the files used to define the exclude list when the exclude list mode is set to CUSTOM_EXCLUDE_LIST. |
void |
setExcludeFiles(java.io.File[] files)
Set the set of files used to define the exclude list. |
void |
setExcludeMode(int mode)
Set the current exclude list mode. |
void |
setLatestExcludeAutoCheckEnabled(boolean b)
Specify if the automatic check for newer exclude lists is enabled when the exclude list mode is set to LATEST_EXCLUDE_LIST. |
void |
setLatestExcludeAutoCheckInterval(int days)
Set the interval, in days, to be used when automatically checking for exclude list updates and the auto check mode is set to CHECK_EVERY_X_DAYS. |
void |
setLatestExcludeAutoCheckMode(int mode)
Set the mode which defines how often to automatically check for updated exclude lists, when the exclude list mode is set to LATEST_EXCLUDE_LIST, and the automatic check is enabled. |
Methods inherited from interface com.sun.javatest.Parameters.ExcludeListParameters |
---|
getExcludeList |
Field Detail |
---|
static final int NO_EXCLUDE_LIST
static final int INITIAL_EXCLUDE_LIST
TestSuite.hasInitialExcludeList()
,
Constant Field Valuesstatic final int LATEST_EXCLUDE_LIST
TestSuite.hasLatestExcludeList()
,
Constant Field Valuesstatic final int CUSTOM_EXCLUDE_LIST
static final int CHECK_EVERY_X_DAYS
static final int CHECK_EVERY_RUN
Method Detail |
---|
java.io.File[] getExcludeFiles()
getExcludeFiles()
,
setExcludeFiles(java.io.File[])
void setExcludeFiles(java.io.File[] files)
files
- If null, the exclude mode will be set to NO_EXCLUDE_LIST;
if not null, the exclude mode will be set to CUSTOM_EXCLUDE_LIST
and the custom exclude files will be set to this valuegetExcludeFiles()
int getExcludeMode()
setExcludeMode(int)
,
NO_EXCLUDE_LIST
,
INITIAL_EXCLUDE_LIST
,
LATEST_EXCLUDE_LIST
,
CUSTOM_EXCLUDE_LIST
void setExcludeMode(int mode)
mode
- A value indicating the desired exclude list modegetExcludeMode()
,
NO_EXCLUDE_LIST
,
INITIAL_EXCLUDE_LIST
,
LATEST_EXCLUDE_LIST
,
CUSTOM_EXCLUDE_LIST
java.io.File[] getCustomExcludeFiles()
setCustomExcludeFiles(java.io.File[])
void setCustomExcludeFiles(java.io.File[] files)
files
- the files used to define a custom exclude listgetCustomExcludeFiles()
boolean isLatestExcludeAutoCheckEnabled()
setLatestExcludeAutoCheckEnabled(boolean)
void setLatestExcludeAutoCheckEnabled(boolean b)
b
- whether or not the automatic check is enabledisLatestExcludeAutoCheckEnabled()
int getLatestExcludeAutoCheckMode()
setLatestExcludeAutoCheckMode(int)
,
CHECK_EVERY_X_DAYS
,
CHECK_EVERY_RUN
void setLatestExcludeAutoCheckMode(int mode)
mode
- a value indicating how often to check for the
availability of a newer exclude listgetLatestExcludeAutoCheckMode()
,
CHECK_EVERY_X_DAYS
,
CHECK_EVERY_RUN
int getLatestExcludeAutoCheckInterval()
setLatestExcludeAutoCheckInterval(int)
void setLatestExcludeAutoCheckInterval(int days)
days
- the number of days to wait between checksgetLatestExcludeAutoCheckInterval()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |