Package me.hsgamer.bettergui.requirement
Class RequirementSet
- java.lang.Object
-
- me.hsgamer.bettergui.requirement.RequirementSet
-
- All Implemented Interfaces:
MenuElement,Requirement
public class RequirementSet extends Object implements Requirement
The requirement set
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface me.hsgamer.bettergui.api.requirement.Requirement
Requirement.Result
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Requirement.Resultcheck(UUID uuid)Check the requirement for the unique idActionAppliergetFailActionApplier()Get the fail action applierMenugetMenu()Get the menu containing the elementStringgetName()Get the name of the requirementList<Requirement>getRequirements()Get the requirementsActionAppliergetSuccessActionApplier()Get the success action applier
-
-
-
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
-
check
public Requirement.Result check(UUID uuid)
Description copied from interface:RequirementCheck the requirement for the unique id- Specified by:
checkin interfaceRequirement- Parameters:
uuid- the unique id- Returns:
- the result
-
getName
public String getName()
Description copied from interface:RequirementGet the name of the requirement- Specified by:
getNamein interfaceRequirement- Returns:
- the name
-
getMenu
public Menu getMenu()
Description copied from interface:MenuElementGet the menu containing the element- Specified by:
getMenuin interfaceMenuElement- Returns:
- the menu
-
-