Class SectionSpec

  • All Implemented Interfaces:
    IResult
    Direct Known Subclasses:
    ThreadInfoQuery.Result

    public class SectionSpec
    extends Spec
    A container for multiple results. The results are merged if possible.
    • Constructor Detail

      • SectionSpec

        @Deprecated
        public SectionSpec()
        Deprecated.
      • SectionSpec

        public SectionSpec​(String name)
    • Method Detail

      • getChildren

        public List<Spec> getChildren()
      • add

        public void add​(Spec child)
      • merge

        public void merge​(Spec otherSpec)
        Description copied from class: Spec
        Merge with another Spec. Combine the parameters and choose the other name if this has none.
        Overrides:
        merge in class Spec
        Parameters:
        otherSpec - the other Spec