Class InterviewSet


  • public class InterviewSet
    extends Interview
    InterviewSet is an interview that is also a container for an ordered set of child interviews. The default execution order for the children is the order in which they are added to this container, but the order can be modified by specifying dependencies between child interviews: all dependencies for any child will be executed before the child itself. Child interviews are added into an interview set by specifying this interview as their parent. The interview is invoked by using Interview.callInterview(com.sun.interview.Interview, com.sun.interview.Question) in the usual way.
    See Also:
    Interview(Interview, String)
    • Constructor Detail

      • InterviewSet

        protected InterviewSet​(Interview parent,
                               java.lang.String baseTag)
        Create an interview set.
        Parameters:
        parent - the parent interview for this interview
        baseTag - A name that will be used to qualify the tags of any sub-interviews in this interview, to help ensure uniqueness of those tags.
    • Method Detail

      • removeDependency

        protected void removeDependency​(Interview child,
                                        Interview dependency)
        Remove any dependency between two interviews, and hence any ordering constraint between these two interviews.
        Parameters:
        child - the interview which depends on the dependency
        dependency - the interview on which the child interview depends