Class ParentAndRoot


  • @Experimental
    public class ParentAndRoot
    extends Object
    A container for task parent and root. Used to return both parent and root from a single "get" operation. (They are determined together.)
    • Field Detail

      • parent

        @Nullable
        public final @Nullable Task parent
      • root

        @NotNull
        public final @NotNull Task root
    • Constructor Detail

      • ParentAndRoot

        public ParentAndRoot​(@Nullable
                             @Nullable Task parent,
                             @NotNull
                             @NotNull Task root)