|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.interview.Interview
com.sun.javatest.interview.ExcludeListInterview
public class ExcludeListInterview
This interview collects the "exclude list" test filter parameters. It is normally used as one of a series of sub-interviews that collect the parameter information for a test run.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.interview.Interview |
|---|
Interview.BadHelpFault, Interview.Fault, Interview.HelpNotFoundFault, Interview.NotOnPathFault, Interview.Observer |
| Field Summary |
|---|
| Fields inherited from class com.sun.interview.Interview |
|---|
EXPORT_IGNORE_ALL_EXCEPTIONS, EXPORT_IGNORE_NO_EXCEPTIONS, EXPORT_IGNORE_RUNTIME_EXCEPTIONS, EXTERNAL_PREF, helpSetFactory, INTERVIEW, LOCALE, MARKERS, MARKERS_PREF, QUESTION, SEMANTIC_MAX_VERSION, SEMANTIC_PRE_32, SEMANTIC_VERSION_32, SEMANTIC_VERSION_43, TEMPLATE_PREF |
| Fields inherited from interface com.sun.javatest.Parameters.MutableExcludeListParameters |
|---|
CHECK_EVERY_RUN, CHECK_EVERY_X_DAYS, CUSTOM_EXCLUDE_LIST, INITIAL_EXCLUDE_LIST, LATEST_EXCLUDE_LIST, NO_EXCLUDE_LIST |
| Constructor Summary | |
|---|---|
ExcludeListInterview(InterviewParameters parent)
Create an interview. |
|
| 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. |
TestFilter |
getExcludeFilter()
Get a test filter generated from the exclude list files in the interview. |
ExcludeList |
getExcludeList()
Get the exclude list generated from the exclude list files in the interview. |
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 class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExcludeListInterview(InterviewParameters parent)
throws Interview.Fault
parent - The parent interview of which this is a child.
Interview.Fault - if there is a problem while creating the interview.| Method Detail |
|---|
public java.io.File[] getExcludeFiles()
Parameters.MutableExcludeListParameters
getExcludeFiles in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.getExcludeFiles(),
Parameters.MutableExcludeListParameters.setExcludeFiles(java.io.File[])public void setExcludeFiles(java.io.File[] files)
Parameters.MutableExcludeListParameters
setExcludeFiles in interface Parameters.MutableExcludeListParametersfiles - 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 valueParameters.MutableExcludeListParameters.getExcludeFiles()public int getExcludeMode()
Parameters.MutableExcludeListParameters
getExcludeMode in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.setExcludeMode(int),
Parameters.MutableExcludeListParameters.NO_EXCLUDE_LIST,
Parameters.MutableExcludeListParameters.INITIAL_EXCLUDE_LIST,
Parameters.MutableExcludeListParameters.LATEST_EXCLUDE_LIST,
Parameters.MutableExcludeListParameters.CUSTOM_EXCLUDE_LISTpublic void setExcludeMode(int mode)
Parameters.MutableExcludeListParameters
setExcludeMode in interface Parameters.MutableExcludeListParametersmode - A value indicating the desired exclude list modeParameters.MutableExcludeListParameters.getExcludeMode(),
Parameters.MutableExcludeListParameters.NO_EXCLUDE_LIST,
Parameters.MutableExcludeListParameters.INITIAL_EXCLUDE_LIST,
Parameters.MutableExcludeListParameters.LATEST_EXCLUDE_LIST,
Parameters.MutableExcludeListParameters.CUSTOM_EXCLUDE_LISTpublic java.io.File[] getCustomExcludeFiles()
Parameters.MutableExcludeListParameters
getCustomExcludeFiles in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.setCustomExcludeFiles(java.io.File[])public void setCustomExcludeFiles(java.io.File[] files)
Parameters.MutableExcludeListParameters
setCustomExcludeFiles in interface Parameters.MutableExcludeListParametersfiles - the files used to define a custom exclude listParameters.MutableExcludeListParameters.getCustomExcludeFiles()public boolean isLatestExcludeAutoCheckEnabled()
Parameters.MutableExcludeListParameters
isLatestExcludeAutoCheckEnabled in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.setLatestExcludeAutoCheckEnabled(boolean)public void setLatestExcludeAutoCheckEnabled(boolean b)
Parameters.MutableExcludeListParameters
setLatestExcludeAutoCheckEnabled in interface Parameters.MutableExcludeListParametersb - whether or not the automatic check is enabledParameters.MutableExcludeListParameters.isLatestExcludeAutoCheckEnabled()public int getLatestExcludeAutoCheckMode()
Parameters.MutableExcludeListParameters
getLatestExcludeAutoCheckMode in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.setLatestExcludeAutoCheckMode(int),
Parameters.MutableExcludeListParameters.CHECK_EVERY_X_DAYS,
Parameters.MutableExcludeListParameters.CHECK_EVERY_RUNpublic void setLatestExcludeAutoCheckMode(int mode)
Parameters.MutableExcludeListParameters
setLatestExcludeAutoCheckMode in interface Parameters.MutableExcludeListParametersmode - a value indicating how often to check for the
availability of a newer exclude listParameters.MutableExcludeListParameters.getLatestExcludeAutoCheckMode(),
Parameters.MutableExcludeListParameters.CHECK_EVERY_X_DAYS,
Parameters.MutableExcludeListParameters.CHECK_EVERY_RUNpublic int getLatestExcludeAutoCheckInterval()
Parameters.MutableExcludeListParameters
getLatestExcludeAutoCheckInterval in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.setLatestExcludeAutoCheckInterval(int)public void setLatestExcludeAutoCheckInterval(int days)
Parameters.MutableExcludeListParameters
setLatestExcludeAutoCheckInterval in interface Parameters.MutableExcludeListParametersdays - the number of days to wait between checksParameters.MutableExcludeListParameters.getLatestExcludeAutoCheckInterval()public ExcludeList getExcludeList()
getExcludeList in interface Parameters.ExcludeListParametersgetExcludeFiles()public TestFilter getExcludeFilter()
getExcludeFiles()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||