Class RequirementSet

    • Constructor Detail

      • RequirementSet

        public RequirementSet​(Menu menu,
                              String name,
                              Map<String,​Object> section)
        Create a new requirement set
        Parameters:
        menu - the menu
        name - the name
        section - the section
    • Method Detail

      • getRequirements

        public List<Requirement> getRequirements()
        Get the requirements
        Returns:
        the requirements
      • getSuccessActionApplier

        public ActionApplier getSuccessActionApplier()
        Get the success action applier
        Returns:
        the success action applier
      • getFailActionApplier

        public ActionApplier getFailActionApplier()
        Get the fail action applier
        Returns:
        the fail action applier
      • getName

        public String getName()
        Description copied from interface: Requirement
        Get the name of the requirement
        Specified by:
        getName in interface Requirement
        Returns:
        the name
      • getMenu

        public Menu getMenu()
        Description copied from interface: MenuElement
        Get the menu containing the element
        Specified by:
        getMenu in interface MenuElement
        Returns:
        the menu