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 class
Interview.BadHelpFault
Deprecated.No longer used in this API, direct JavaHelp usage was removed.static class
Interview.HelpNotFoundFault
Deprecated.No longer used in this API, direct JavaHelp usage was removed.static class
Interview.NotOnPathFault
This exception is thrown when a question is expected to be on the current path, and is not.static class
InterviewSet.CycleFault
This exception will be thrown when an attempt to made to specify a dependency that would create a dependency cycle.static class
JavaHelpFactory.BadHelpFault
This exception is to report problems found while opening a JavaHelp help set.static class
JavaHelpFactory.HelpNotFoundFault
This 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.Object
HelpSetFactory. createHelpSetObject(java.lang.String name, java.io.File file)
Creates an instance of HelpSet.java.lang.Object
HelpSetFactory. createHelpSetObject(java.lang.String name, java.lang.Class<?> c)
Creates an instance of HelpSet.java.lang.Object
JavaHelpFactory. createHelpSetObject(java.lang.String name, java.io.File file)
java.lang.Object
JavaHelpFactory. createHelpSetObject(java.lang.String name, java.lang.Class<?> c)
Interview
Interview. getInterview(java.lang.String tag)
Get a sub-interview with a given tag name.void
Interview. last()
Advance to the last question in the interview.void
Interview. load(java.util.Map<java.lang.String,java.lang.String> data)
Load the state for questions from an archive map.void
Interview. load(java.util.Map<java.lang.String,java.lang.String> data, boolean checkChecksum)
Load the state for questions from an archive map.void
Interview. next()
Advance to the next question in the interview.void
Interview. prev()
Back up to the previous question in the interview.void
Interview. setCurrentQuestion(Question q)
Jump to a specific question in the interview.protected void
Interview. setHelpSet(java.lang.String name)
Set the name of the help set used to locate the "more info" for each question.protected void
Interview. 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 void
CompositeQuestion. setValue(java.lang.String id, java.lang.String s)
Set the response to this question to the value represented by a string-valued argument.void
FloatQuestion. setValue(java.lang.String s)
Set the response to this question to the value represented by a string-valued argument.void
InetAddressQuestion. setValue(java.lang.String newValue)
Set the current value.void
IntQuestion. setValue(java.lang.String s)
Set the response to this question to the value represented by a string-valued argument.void
PropertiesQuestion. setValue(java.lang.String key, java.lang.String v)
Set a specific property within this question.abstract void
Question. 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 class
InterviewParameters.JTIFault
Indicates problems when accessing the configuration file.static class
InterviewParameters.TestSuiteFault
Indicates problems when accessing the test suite.static class
InterviewParameters.WorkDirFault
Indicates problems when accessing the work directory.Methods in com.sun.javatest that throw Interview.Fault Modifier and Type Method Description void
InterviewParameters. init(java.lang.String... args)
Initialize an InterviewParameters object.void
EditJTI. load(java.io.File inFile)
Load a configuration file to be edited.void
EditJTI. load(java.io.File inFile, TestSuite ts)
Load a configuration file to be edited.void
EditJTI. 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.boolean
InterviewParameters. load()
Load the interview with the contents of the file associated with the interview.boolean
InterviewParameters. 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.void
InterviewParameters. load(java.util.Map<java.lang.String,java.lang.String> data, boolean checkChecksum)
boolean
InterviewParameters. 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 InterviewParameters
InterviewParameters. open(java.io.File file)
Create an InterviewParameters as determined by the contents of an interview file.static InterviewParameters
InterviewParameters. 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 InterviewParameters
InterviewParameters. 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 InterviewParameters
InterviewParameters. 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 InterviewParameters
InterviewParameters. 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.void
EditJTI. save(java.io.File file)
Save the edited configuration in a specified file.void
InterviewParameters. save()
Save the current set of answers for the interview in the standard file associated with the interview.void
InterviewParameters. 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.void
InterviewParameters. 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.void
InterviewParameters. 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.void
InterviewParameters. saveAs(java.io.File file, boolean saveTestSuite, boolean saveWorkDir)
Save the current state of the interview in a specified file.void
InterviewParameters. 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 void
InterviewEditor. copy(InterviewParameters from, InterviewParameters to)
protected void
InterviewEditor. doSave(java.io.File file)
Does actual save work.InterviewParameters
ContextManager. 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 TestsInterview
BasicInterviewParameters. 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.
-