Uses of Class
com.sun.interview.Interview.Fault
-
Packages that use Interview.Fault Package Description com.sun.interview This package provides a means for creating a set of questions to be asked by a "wizard".com.sun.javatest This package provides facilities for reading, executing and monitoring tests.com.sun.javatest.exec The Test Manager Tool provides a GUI for opening, browsing, configuring, and running tests and test suites, and for browsing the results.com.sun.javatest.interview This package provides a configuration interview for legacy test suites which do not provide their own interview, and also provides sub-interviews which may be used to build a custom interview with standard questions for the standard sections. -
-
Uses of Interview.Fault in com.sun.interview
Subclasses of Interview.Fault in com.sun.interview Modifier and Type Class Description static classInterview.BadHelpFaultDeprecated.No longer used in this API, direct JavaHelp usage was removed.static classInterview.HelpNotFoundFaultDeprecated.No longer used in this API, direct JavaHelp usage was removed.static classInterview.NotOnPathFaultThis exception is thrown when a question is expected to be on the current path, and is not.static classInterviewSet.CycleFaultThis exception will be thrown when an attempt to made to specify a dependency that would create a dependency cycle.static classJavaHelpFactory.BadHelpFaultThis exception is to report problems found while opening a JavaHelp help set.static classJavaHelpFactory.HelpNotFoundFaultThis exception is thrown when a named help set cannot be found.Methods in com.sun.interview that throw Interview.Fault Modifier and Type Method Description java.lang.ObjectHelpSetFactory. createHelpSetObject(java.lang.String name, java.io.File file)Creates an instance of HelpSet.java.lang.ObjectHelpSetFactory. createHelpSetObject(java.lang.String name, java.lang.Class<?> c)Creates an instance of HelpSet.java.lang.ObjectJavaHelpFactory. createHelpSetObject(java.lang.String name, java.io.File file)java.lang.ObjectJavaHelpFactory. createHelpSetObject(java.lang.String name, java.lang.Class<?> c)InterviewInterview. getInterview(java.lang.String tag)Get a sub-interview with a given tag name.voidInterview. last()Advance to the last question in the interview.voidInterview. load(java.util.Map<java.lang.String,java.lang.String> data)Load the state for questions from an archive map.voidInterview. load(java.util.Map<java.lang.String,java.lang.String> data, boolean checkChecksum)Load the state for questions from an archive map.voidInterview. next()Advance to the next question in the interview.voidInterview. prev()Back up to the previous question in the interview.voidInterview. setCurrentQuestion(Question q)Jump to a specific question in the interview.protected voidInterview. setHelpSet(java.lang.String name)Set the name of the help set used to locate the "more info" for each question.protected voidInterview. setHelpSet(java.lang.String name, java.io.File file)Set the name of the help set used to locate the "more info" for each question.abstract voidCompositeQuestion. setValue(java.lang.String id, java.lang.String s)Set the response to this question to the value represented by a string-valued argument.voidFloatQuestion. setValue(java.lang.String s)Set the response to this question to the value represented by a string-valued argument.voidInetAddressQuestion. setValue(java.lang.String newValue)Set the current value.voidIntQuestion. setValue(java.lang.String s)Set the response to this question to the value represented by a string-valued argument.voidPropertiesQuestion. setValue(java.lang.String key, java.lang.String v)Set a specific property within this question.abstract voidQuestion. setValue(java.lang.String s)Set the response to this question to the value represented by a string-valued argument. -
Uses of Interview.Fault in com.sun.javatest
Subclasses of Interview.Fault in com.sun.javatest Modifier and Type Class Description static classInterviewParameters.JTIFaultIndicates problems when accessing the configuration file.static classInterviewParameters.TestSuiteFaultIndicates problems when accessing the test suite.static classInterviewParameters.WorkDirFaultIndicates problems when accessing the work directory.Methods in com.sun.javatest that throw Interview.Fault Modifier and Type Method Description voidInterviewParameters. init(java.lang.String... args)Initialize an InterviewParameters object.voidEditJTI. load(java.io.File inFile)Load a configuration file to be edited.voidEditJTI. load(java.io.File inFile, TestSuite ts)Load a configuration file to be edited.voidEditJTI. load(java.io.File inFile, java.net.URLClassLoader loader)Load a configuration file to be edited, using a specified class loader to load the interview class.booleanInterviewParameters. load()Load the interview with the contents of the file associated with the interview.booleanInterviewParameters. load(java.io.File file)Load the interview with the contents of a specified file, which will become the default file associated with the interview.voidInterviewParameters. load(java.util.Map<java.lang.String,java.lang.String> data, boolean checkChecksum)booleanInterviewParameters. load(java.util.Map<java.lang.String,java.lang.String> data, java.io.File file)Load the interview with data that has already been read from a specified file, which will become the default file associated with the interview.static InterviewParametersInterviewParameters. open(java.io.File file)Create an InterviewParameters as determined by the contents of an interview file.static InterviewParametersInterviewParameters. open(java.io.File file, TestSuite testSuite)Create an InterviewParameters by populating the interview for a specified test suite with responses from a given file.static InterviewParametersInterviewParameters. open(java.io.File file, WorkDirectory workDir)Create an InterviewParameters by populating the interview for a specified work directory with responses from a given file.static InterviewParametersInterviewParameters. open(java.io.File testSuitePath, java.io.File workDirPath, java.io.File configFilePath)Open a a configuration file, based on paths for the configuration file, test suite and work directory.static InterviewParametersInterviewParameters. open(java.lang.String testSuitePath, java.lang.String workDirPath, java.lang.String configFilePath)Open a a configuration file, based on paths for the configuration file, test suite and work directory.voidEditJTI. save(java.io.File file)Save the edited configuration in a specified file.voidInterviewParameters. save()Save the current set of answers for the interview in the standard file associated with the interview.voidInterviewParameters. save(java.io.File file)Save the current state of the interview in a specified file, and make that file the new file associated with the interview.voidInterviewParameters. save(java.io.File file, boolean isTemplate)Save the current state of the interview in a specified file, and make that file the new file associated with the interview.voidInterviewParameters. saveAs(java.io.File file)Save the current state of the interview in a specified file, including the paths for the test suite and work directory.voidInterviewParameters. saveAs(java.io.File file, boolean saveTestSuite, boolean saveWorkDir)Save the current state of the interview in a specified file.voidInterviewParameters. saveAs(java.io.File file, boolean saveTestSuite, boolean saveWorkDir, boolean isTemplate)Save the current state of the interview in a specified file. -
Uses of Interview.Fault in com.sun.javatest.exec
Methods in com.sun.javatest.exec that throw Interview.Fault Modifier and Type Method Description static voidInterviewEditor. copy(InterviewParameters from, InterviewParameters to)protected voidInterviewEditor. doSave(java.io.File file)Does actual save work.InterviewParametersContextManager. getTemplate()Get the active template. -
Uses of Interview.Fault in com.sun.javatest.interview
Methods in com.sun.javatest.interview that throw Interview.Fault Modifier and Type Method Description protected TestsInterviewBasicInterviewParameters. createTestsInterview(InterviewParameters parent)creation of {#link TestsInterview} is extracted into separate class to enable 'hooks' and return {#link TestsInterview} sub classConstructors in com.sun.javatest.interview that throw Interview.Fault Constructor Description BasicInterviewParameters(java.lang.String tag)Create a BasicInterviewParameters object.BasicInterviewParameters(java.lang.String tag, TestSuite ts)Create a BasicInterviewParameters object.ConcurrencyInterview(Interview parent)Create an interview.ConcurrencyInterview(Interview parent, int max)Create an interview.DefaultInterviewParameters(java.lang.String tag)Deprecated.Create a BasicInterviewParameters object.DefaultInterviewParameters(java.lang.String tag, TestSuite ts)Deprecated.Create a BasicInterviewParameters object.EnvironmentInterview(InterviewParameters parent)Create an interview.ExcludeListInterview(InterviewParameters parent)Create an interview.KeywordsInterview(InterviewParameters parent)Create an interview.KnownFailuresListInterview(InterviewParameters parent)Create an interview.LegacyParameters()Create a configuration interview for legacy tests suites.LegacyParameters(TestSuite testSuite)Create a configuration interview for legacy tests suites.PriorStatusInterview(InterviewParameters parent)Create an interview.SimpleInterviewParameters()TestsInterview(InterviewParameters parent)Create an interview.TimeoutFactorInterview(InterviewParameters parent)Create an interview.
-