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 classChoiceArrayQuestionAquestionto which the response is one of a number of choices.classChoiceQuestionAquestionto which the response is one of a number of choices.classCompositeQuestionA specialized base class for questions which have more than one value to be manipulated by the user.classErrorQuestionA "null" question with no response.classFileListQuestionAquestionto which the response is one or more filenames.classFileQuestionAquestionto which the response is a filename.classFinalQuestionA special type of question used to indicate the last of the questions of an interview.classFloatQuestionAquestionto which the response is an floating point number.classInetAddressQuestionAquestionto which the response is an IP address.classIntQuestionAquestionto which the response is an integer.classListQuestionAquestionto support the construction of an open-ended set of complex values determined by a specified subinterview.classNullQuestionA "null" question with no response.classPropertiesQuestionAquestionwhich consists of many key-value pairs.classStringListQuestionAquestionto which the response is an array of strings.classStringQuestionAquestionto which the response is a string.classTreeQuestionAquestionto which the response is a set of selected nodes within a tree.classYesNoQuestionAquestionto which the response is yes or no.Methods in com.sun.interview that return Question Modifier and Type Method Description protected QuestionInterview. 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.QuestionInterview. getCurrentQuestion()Get the current question in the interview.QuestionInterview. getFirstQuestion()Get the first question of the interview.QuestionErrorQuestion. getNext()protected QuestionFinalQuestion. getNext()Get the next question in the series.protected abstract QuestionQuestion. 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 QuestionInterview. 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.voidInterview.Observer. currentQuestionChanged(Question q)Invoked when the current question in the interview has been changed.static com.sun.javatest.tool.jthelp.HelpIDHelp. getHelpID(Question q)Get the JavaHelp HelpID identifying the "more info" help for this question, or null if none.booleanInterview. hasNext(Question q)Determine if a question has a non-null successor.booleanInterview. hasValidNext(Question q)Determine if a question has a successor which is neither null nor an ErrorQuestion.booleanInterview. isFirst(Question q)Determine if a question is the first question of the interview.booleanInterview. isLast(Question q)Determine if a question is the last question of the interview.booleanInterview. pathContains(Question q)Check if the path contains a specific question.voidInterview. setCurrentQuestion(Question q)Jump to a specific question in the interview.protected voidInterview. setFirstQuestion(Question q)Set the first question for an interview.voidInterview. updatePath(Question q)Update the current path, typically because a response to a question has changed.voidInterview. 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 QuestionInterviewParameters. getConcurrencyFirstQuestion()Get the first question concerning the number of tests that may be run in parallel.protected QuestionInterviewParameters. getConcurrencySuccessorQuestion()Get the next question after those concerning the number of tests that may be run in parallel.protected abstract QuestionInterviewParameters. getEnvFirstQuestion()Get the first question to be asked concerning the environment to be set up and used for each test to be run.protected QuestionInterviewParameters. 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 QuestionInterviewParameters. 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 QuestionInterviewParameters. getExcludeListFirstQuestion()Get the first question to be asked concerning the exclude list to be used to exclude tests from the test run.protected QuestionInterviewParameters. 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 QuestionInterviewParameters. getExcludeTableFirstQuestion()Deprecated.Use getExcludeListFirstQuestion().protected QuestionInterviewParameters. getExcludeTableSuccessorQuestion()Deprecated.Use getExcludeListFirstQuestion().protected abstract QuestionInterviewParameters. getKeywordsFirstQuestion()Get the first question to be asked concerning the keywords that may be used to select tests for the test run.protected QuestionInterviewParameters. 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 QuestionInterviewParameters. getPriorStatusFirstQuestion()Get the first question to be asked concerning whether tests should be selected for execution according to their prior execution status.protected QuestionInterviewParameters. 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 QuestionInterviewParameters. getPrologSuccessorQuestion()Get the next question to the asked after the initial prolog of questions.protected abstract QuestionInterviewParameters. getTestsFirstQuestion()Get the first question to be asked concerning the set of tests and folders of tests to be run.protected QuestionInterviewParameters. getTestsSuccessorQuestion()Get the next question to be asked after those concerning the tests and folders of tests to be run.protected abstract QuestionInterviewParameters. getTimeoutFactorFirstQuestion()Get the first question concerning the scale factor to be applied to the standard timeout for each test.protected QuestionInterviewParameters. 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 booleanInterviewPropagator. 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 voidServiceViewer. currentQuestionChanged(Question q)Method parameters in com.sun.javatest.exec with type arguments of type Question Modifier and Type Method Description protected voidContextManager. registerCustomQuestionRenderer(java.lang.Class<? extends Question> question, com.sun.interview.wizard.QuestionRenderer renderer)Register custom config editor's question renderer for specified question class.voidInterviewEditor. 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 classTestsInterview.TreeOrFileChoiceQuestionRepresents Tests Selection Choice Question.Fields in com.sun.javatest.interview declared as Question Modifier and Type Field Description protected QuestionTestsInterview. cachedTestsErrorprotected QuestionTestsInterview. qEndMethods in com.sun.javatest.interview that return Question Modifier and Type Method Description protected QuestionBasicInterviewParameters. getConcurrencyFirstQuestion()protected QuestionLegacyParameters. getEnvFirstQuestion()Get the first question to be asked concerning the environment to be set up and used for each test to be run.QuestionSimpleInterviewParameters. getEnvFirstQuestion()protected QuestionBasicInterviewParameters. getEpilogFirstQuestion()protected QuestionBasicInterviewParameters. getExcludeListFirstQuestion()protected QuestionBasicInterviewParameters. getExcludeListSuccessorQuestion()protected QuestionBasicInterviewParameters. getKeywordsFirstQuestion()protected QuestionBasicInterviewParameters. getKflFirstQuestion()protected QuestionBasicInterviewParameters. getKflSuccessorQuestion()protected QuestionTestsInterview.TreeOrFileChoiceQuestion. getNext()protected QuestionBasicInterviewParameters. getPriorStatusFirstQuestion()protected QuestionBasicInterviewParameters. getTestsFirstQuestion()protected QuestionBasicInterviewParameters. getTimeoutFactorFirstQuestion()
-