public class ExcludeListInterview extends Interview implements Parameters.MutableExcludeListParameters
Interview.BadHelpFault, Interview.Fault, Interview.HelpNotFoundFault, Interview.NotOnPathFault, Interview.ObserverEXPORT_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, SEMANTIC_VERSION_50, TEMPLATE_PREFCHECK_EVERY_RUN, CHECK_EVERY_X_DAYS, CUSTOM_EXCLUDE_LIST, INITIAL_EXCLUDE_LIST, LATEST_EXCLUDE_LIST, NO_EXCLUDE_LIST| Constructor and Description |
|---|
ExcludeListInterview(InterviewParameters parent)
Create an interview.
|
| Modifier and Type | Method and Description |
|---|---|
void |
dispose() |
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.
|
addObserver, callInterview, clear, clearMarkedResponses, containsObserver, createChecklist, createChecklistItem, createChecklistItem, createChecklistItem, export, getAllQuestions, getCurrentQuestion, getDefaultImage, getExportIgnoreExceptionPolicy, getExternalProperties, getFirstQuestion, getHelpSet, getInterview, getInterviewSemantics, getParent, getPath, getPathToCurrent, getPropertyKeys, getQuestions, getRawPath, getResourceBundle, getResourceString, getResourceString, getRoot, getTag, getTitle, hasNext, hasValidNext, isChecklistEmpty, isChecksumValid, isEdited, isFinishable, isFirst, isInterviewFinishable, isLast, isRoot, isStarted, iteratePath, iteratePathToCurrent, last, load, load, next, pathContains, pathContains, prev, propagateTemplateForAll, readLocale, removeAllMarkers, removeMarkers, removeObserver, reset, retrieveProperty, retrieveTemplateKeys, retrieveTemplateProperty, save, setBaseTag, setCurrentQuestion, setDefaultImage, setEdited, setExportIgnoreExceptionPolicy, setFirstQuestion, setHelpSet, setHelpSet, setHelpSet, setInterviewSemantics, setResourceBundle, setResourceBundle, setTitle, storeProperty, storeTemplateProperties, storeTemplateProperty, updatePath, updatePath, verifyPathContains, writeLocalepublic 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.public void dispose()
public java.io.File[] getExcludeFiles()
Parameters.MutableExcludeListParametersgetExcludeFiles in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.getExcludeFiles(),
Parameters.MutableExcludeListParameters.setExcludeFiles(java.io.File[])public void setExcludeFiles(java.io.File[] files)
Parameters.MutableExcludeListParameterssetExcludeFiles 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.MutableExcludeListParametersgetExcludeMode 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.MutableExcludeListParameterssetExcludeMode 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.MutableExcludeListParametersgetCustomExcludeFiles in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.setCustomExcludeFiles(java.io.File[])public void setCustomExcludeFiles(java.io.File[] files)
Parameters.MutableExcludeListParameterssetCustomExcludeFiles in interface Parameters.MutableExcludeListParametersfiles - the files used to define a custom exclude listParameters.MutableExcludeListParameters.getCustomExcludeFiles()public boolean isLatestExcludeAutoCheckEnabled()
Parameters.MutableExcludeListParametersisLatestExcludeAutoCheckEnabled in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.setLatestExcludeAutoCheckEnabled(boolean)public void setLatestExcludeAutoCheckEnabled(boolean b)
Parameters.MutableExcludeListParameterssetLatestExcludeAutoCheckEnabled in interface Parameters.MutableExcludeListParametersb - whether or not the automatic check is enabledParameters.MutableExcludeListParameters.isLatestExcludeAutoCheckEnabled()public int getLatestExcludeAutoCheckMode()
Parameters.MutableExcludeListParametersgetLatestExcludeAutoCheckMode in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.setLatestExcludeAutoCheckMode(int),
Parameters.MutableExcludeListParameters.CHECK_EVERY_X_DAYS,
Parameters.MutableExcludeListParameters.CHECK_EVERY_RUNpublic void setLatestExcludeAutoCheckMode(int mode)
Parameters.MutableExcludeListParameterssetLatestExcludeAutoCheckMode 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.MutableExcludeListParametersgetLatestExcludeAutoCheckInterval in interface Parameters.MutableExcludeListParametersParameters.MutableExcludeListParameters.setLatestExcludeAutoCheckInterval(int)public void setLatestExcludeAutoCheckInterval(int days)
Parameters.MutableExcludeListParameterssetLatestExcludeAutoCheckInterval 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()Copyright (c) 1996, 2015, Oracle and/or its affiliates. All rights reserved.