public static interface Parameters.MutableExcludeListParameters extends Parameters.ExcludeListParameters
Modifier and Type | Field and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
getExcludeList
static final int NO_EXCLUDE_LIST
static final int INITIAL_EXCLUDE_LIST
static final int LATEST_EXCLUDE_LIST
static final int CUSTOM_EXCLUDE_LIST
static final int CHECK_EVERY_X_DAYS
static final int CHECK_EVERY_RUN
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()
Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.