Class RequirementApplier

    • Constructor Detail

      • RequirementApplier

        public RequirementApplier​(List<RequirementSet> requirementSets,
                                  ActionApplier failActionApplier)
        Create a new requirement applier
        Parameters:
        requirementSets - the requirement sets
        failActionApplier - the fail action applier
      • RequirementApplier

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

      • isEmpty

        public boolean isEmpty()
        Check if the applier is empty
        Returns:
        true if it is empty
      • getResult

        public Requirement.Result getResult​(UUID uuid)
        Get the result of the requirement
        Parameters:
        uuid - the unique id
        Returns:
        the result