Uses of Class
com.sun.interview.Question
Packages that use Question
Package
Description
This package provides a means for creating a set of questions
to be asked by a "wizard".
This package provides facilities for reading, executing
and monitoring tests.
The Test Manager Tool provides a GUI for opening, browsing, configuring,
and running tests and test suites, and for browsing the results.
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 Question in com.sun.interview
Subclasses of Question in com.sun.interviewModifier and TypeClassDescriptionclass
Aquestion
to which the response is one of a number of choices.class
Aquestion
to which the response is one of a number of choices.class
A specialized base class for questions which have more than one value to be manipulated by the user.class
A "null" question with no response.class
Aquestion
to which the response is one or more filenames.class
Aquestion
to which the response is a filename.class
A special type of question used to indicate the last of the questions of an interview.class
Aquestion
to which the response is an floating point number.class
Aquestion
to which the response is an IP address.class
Aquestion
to which the response is an integer.class
Aquestion
to support the construction of an open-ended set of complex values determined by a specified subinterview.class
A "null" question with no response.class
Aquestion
which consists of many key-value pairs.class
Aquestion
to which the response is an array of strings.class
Aquestion
to which the response is a string.class
Aquestion
to which the response is a set of selected nodes within a tree.class
Aquestion
to which the response is yes or no.Methods in com.sun.interview that return QuestionModifier and TypeMethodDescriptionprotected Question
Interview.callInterview
(Interview i, Question q) Return a special type of question used to indicate that a sub-interview interview should be called before proceeding to the next question in this interview.Interview.getCurrentQuestion()
Get the current question in the interview.Interview.getFirstQuestion()
Get the first question of the interview.final Question
ErrorQuestion.getNext()
protected final Question
FinalQuestion.getNext()
Get the next question in the series.protected abstract Question
Question.getNext()
Get the next question to be asked.Question[]
Interview.getPath()
Get the set of questions on the current path.Question[]
Interview.getPathToCurrent()
Get the set of questions on the current path up to and including the current question.Question[]
Interview.getRawPath
(boolean includeFinals) Get the current set path of questions, including some things normally hidden.Methods in com.sun.interview that return types with arguments of type QuestionModifier and TypeMethodDescriptionInterview.getAllQuestions()
Get all questions in this interview and recursively, in all child interviews.Interview.getQuestions()
Get the complete set of questions in this interview and recursively, in all child interviews.Interview.iteratePath
(boolean flattenNestedInterviews) Get an iterator for the set of questions on the current path.Interview.iteratePathToCurrent
(boolean flattenNestedInterviews) Get an iterator for the set of questions on the current path up to and including the current question.Methods in com.sun.interview with parameters of type QuestionModifier and TypeMethodDescriptionprotected Question
Interview.callInterview
(Interview i, Question q) Return a special type of question used to indicate that a sub-interview interview should be called before proceeding to the next question in this interview.void
Interview.Observer.currentQuestionChanged
(Question q) Invoked when the current question in the interview has been changed.static com.sun.javatest.tool.jthelp.HelpID
Get the JavaHelp HelpID identifying the "more info" help for this question, or null if none.boolean
Determine if a question has a non-null successor.boolean
Interview.hasValidNext
(Question q) Determine if a question has a successor which is neither null nor an ErrorQuestion.boolean
Determine if a question is the first question of the interview.boolean
Determine if a question is the last question of the interview.boolean
Interview.pathContains
(Question q) Check if the path contains a specific question.void
Interview.setCurrentQuestion
(Question q) Jump to a specific question in the interview.protected void
Interview.setFirstQuestion
(Question q) Set the first question for an interview.void
Interview.updatePath
(Question q) Update the current path, typically because a response to a question has changed.void
Interview.verifyPathContains
(Question q) Verify that the current path contains a specified question, and throw an exception if it does not.Constructors in com.sun.interview with parameters of type Question -
Uses of Question in com.sun.javatest
Methods in com.sun.javatest that return QuestionModifier and TypeMethodDescriptionprotected abstract Question
InterviewParameters.getConcurrencyFirstQuestion()
Get the first question concerning the number of tests that may be run in parallel.protected Question
InterviewParameters.getConcurrencySuccessorQuestion()
Get the next question after those concerning the number of tests that may be run in parallel.protected abstract Question
InterviewParameters.getEnvFirstQuestion()
Get the first question to be asked concerning the environment to be set up and used for each test to be run.protected Question
InterviewParameters.getEnvSuccessorQuestion()
Get the next question to be asked after those concerning the environment to be set up and used for each test to be run.protected abstract Question
InterviewParameters.getEpilogFirstQuestion()
Get the first question of the epilog, which should be asked after all the other questions in the configuration interview have been asked.protected abstract Question
InterviewParameters.getExcludeListFirstQuestion()
Get the first question to be asked concerning the exclude list to be used to exclude tests from the test run.protected Question
InterviewParameters.getExcludeListSuccessorQuestion()
Get the next question to be asked after those concerning the exclude list to be used to exclude tests from the test run.protected Question
InterviewParameters.getExcludeTableFirstQuestion()
Deprecated.Use getExcludeListFirstQuestion().protected Question
InterviewParameters.getExcludeTableSuccessorQuestion()
Deprecated.Use getExcludeListFirstQuestion().protected abstract Question
InterviewParameters.getKeywordsFirstQuestion()
Get the first question to be asked concerning the keywords that may be used to select tests for the test run.protected Question
InterviewParameters.getKeywordsSuccessorQuestion()
Get the next question to be asked after those concerning the keywords that may be used to select tests for the test run.protected abstract Question
InterviewParameters.getPriorStatusFirstQuestion()
Get the first question to be asked concerning whether tests should be selected for execution according to their prior execution status.protected Question
InterviewParameters.getPriorStatusSuccessorQuestion()
Get the next question to be asked after those concerning whether tests should be selected for execution according to their prior execution status.protected Question
InterviewParameters.getPrologSuccessorQuestion()
Get the next question to the asked after the initial prolog of questions.protected abstract Question
InterviewParameters.getTestsFirstQuestion()
Get the first question to be asked concerning the set of tests and folders of tests to be run.protected Question
InterviewParameters.getTestsSuccessorQuestion()
Get the next question to be asked after those concerning the tests and folders of tests to be run.protected abstract Question
InterviewParameters.getTimeoutFactorFirstQuestion()
Get the first question concerning the scale factor to be applied to the standard timeout for each test.protected Question
InterviewParameters.getTimeoutFactorSuccessorQuestion()
Get the next question after those concerning the scale factor to be applied to the standard timeout for each test.Method parameters in com.sun.javatest with type arguments of type QuestionModifier and TypeMethodDescriptionstatic boolean
InterviewPropagator.isPropertyQuestion
(String key, Map<String, Question> allQ) Returns is the specified question is properties question -
Uses of Question in com.sun.javatest.exec
Methods in com.sun.javatest.exec that return types with arguments of type QuestionMethods in com.sun.javatest.exec with parameters of type QuestionMethod parameters in com.sun.javatest.exec with type arguments of type QuestionModifier and TypeMethodDescriptionprotected void
ContextManager.registerCustomQuestionRenderer
(Class<? extends Question> question, com.sun.interview.wizard.QuestionRenderer renderer) Register custom config editor's question renderer for specified question class.void
InterviewEditor.setCustomRenderers
(Map<Class<? extends Question>, com.sun.interview.wizard.QuestionRenderer> renderersMap) -
Uses of Question in com.sun.javatest.interview
Subclasses of Question in com.sun.javatest.interviewModifier and TypeClassDescriptionclass
Represents Tests Selection Choice Question.Fields in com.sun.javatest.interview declared as QuestionModifier and TypeFieldDescriptionprotected Question
TestsInterview.cachedTestsError
protected Question
TestsInterview.qEnd
Methods in com.sun.javatest.interview that return QuestionModifier and TypeMethodDescriptionprotected Question
BasicInterviewParameters.getConcurrencyFirstQuestion()
protected Question
LegacyParameters.getEnvFirstQuestion()
Get the first question to be asked concerning the environment to be set up and used for each test to be run.SimpleInterviewParameters.getEnvFirstQuestion()
protected Question
BasicInterviewParameters.getEpilogFirstQuestion()
protected Question
BasicInterviewParameters.getExcludeListFirstQuestion()
protected Question
BasicInterviewParameters.getExcludeListSuccessorQuestion()
protected Question
BasicInterviewParameters.getKeywordsFirstQuestion()
protected Question
BasicInterviewParameters.getKflFirstQuestion()
protected Question
BasicInterviewParameters.getKflSuccessorQuestion()
protected Question
TestsInterview.TreeOrFileChoiceQuestion.getNext()
protected Question
BasicInterviewParameters.getPriorStatusFirstQuestion()
protected Question
BasicInterviewParameters.getTestsFirstQuestion()
protected Question
BasicInterviewParameters.getTimeoutFactorFirstQuestion()