Uses of Class
com.sun.interview.Question
-
Packages that use Question 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 Question in com.sun.interview
Subclasses of Question in com.sun.interview Modifier and Type Class Description class
ChoiceArrayQuestion
Aquestion
to which the response is one of a number of choices.class
ChoiceQuestion
Aquestion
to which the response is one of a number of choices.class
CompositeQuestion
A specialized base class for questions which have more than one value to be manipulated by the user.class
ErrorQuestion
A "null" question with no response.class
FileListQuestion
Aquestion
to which the response is one or more filenames.class
FileQuestion
Aquestion
to which the response is a filename.class
FinalQuestion
A special type of question used to indicate the last of the questions of an interview.class
FloatQuestion
Aquestion
to which the response is an floating point number.class
InetAddressQuestion
Aquestion
to which the response is an IP address.class
IntQuestion
Aquestion
to which the response is an integer.class
ListQuestion
Aquestion
to support the construction of an open-ended set of complex values determined by a specified subinterview.class
NullQuestion
A "null" question with no response.class
PropertiesQuestion
Aquestion
which consists of many key-value pairs.class
StringListQuestion
Aquestion
to which the response is an array of strings.class
StringQuestion
Aquestion
to which the response is a string.class
TreeQuestion
Aquestion
to which the response is a set of selected nodes within a tree.class
YesNoQuestion
Aquestion
to which the response is yes or no.Methods in com.sun.interview that return Question Modifier and Type Method Description protected 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.Question
Interview. getCurrentQuestion()
Get the current question in the interview.Question
Interview. getFirstQuestion()
Get the first question of the interview.Question
ErrorQuestion. getNext()
protected 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 Question Modifier and Type Method Description java.util.Map<java.lang.String,Question>
Interview. getAllQuestions()
Get all questions in this interview and recursively, in all child interviews.java.util.Set<Question>
Interview. getQuestions()
Get the complete set of questions in this interview and recursively, in all child interviews.java.util.Iterator<Question>
Interview. iteratePath(boolean flattenNestedInterviews)
Get an iterator for the set of questions on the current path.java.util.Iterator<Question>
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 Question Modifier and Type Method Description protected 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
Help. getHelpID(Question q)
Get the JavaHelp HelpID identifying the "more info" help for this question, or null if none.boolean
Interview. hasNext(Question q)
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
Interview. isFirst(Question q)
Determine if a question is the first question of the interview.boolean
Interview. isLast(Question q)
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 Constructor Description WizPrint(Interview interview, Question... questions)
Create an object for printing a set of questions from an interview. -
Uses of Question in com.sun.javatest
Methods in com.sun.javatest that return Question Modifier and Type Method Description protected 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 Question Modifier and Type Method Description static boolean
InterviewPropagator. isPropertyQuestion(java.lang.String key, java.util.Map<java.lang.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 Question Modifier and Type Method Description java.util.Map<java.lang.Class<? extends Question>,com.sun.interview.wizard.QuestionRenderer>
ContextManager. getCustomRenderersMap()
Methods in com.sun.javatest.exec with parameters of type Question Modifier and Type Method Description void
ServiceViewer. currentQuestionChanged(Question q)
Method parameters in com.sun.javatest.exec with type arguments of type Question Modifier and Type Method Description protected void
ContextManager. registerCustomQuestionRenderer(java.lang.Class<? extends Question> question, com.sun.interview.wizard.QuestionRenderer renderer)
Register custom config editor's question renderer for specified question class.void
InterviewEditor. setCustomRenderers(java.util.Map<java.lang.Class<? extends Question>,com.sun.interview.wizard.QuestionRenderer> renderersMap)
-
Uses of Question in com.sun.javatest.interview
Subclasses of Question in com.sun.javatest.interview Modifier and Type Class Description class
TestsInterview.TreeOrFileChoiceQuestion
Represents Tests Selection Choice Question.Fields in com.sun.javatest.interview declared as Question Modifier and Type Field Description protected Question
TestsInterview. cachedTestsError
protected Question
TestsInterview. qEnd
Methods in com.sun.javatest.interview that return Question Modifier and Type Method Description protected 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.Question
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()
-