public class RequirementSet extends Object implements Requirement
Requirement.Result| Constructor and Description |
|---|
RequirementSet(Menu menu,
String name,
Map<String,Object> section)
Create a new requirement set
|
| Modifier and Type | Method and Description |
|---|---|
Requirement.Result |
check(UUID uuid)
Check the requirement for the unique id
|
ActionApplier |
getFailActionApplier()
Get the fail action applier
|
Menu |
getMenu()
Get the menu containing the element
|
String |
getName()
Get the name of the requirement
|
List<Requirement> |
getRequirements()
Get the requirements
|
ActionApplier |
getSuccessActionApplier()
Get the success action applier
|
public List<Requirement> getRequirements()
public ActionApplier getSuccessActionApplier()
public ActionApplier getFailActionApplier()
public Requirement.Result check(UUID uuid)
Requirementcheck in interface Requirementuuid - the unique idpublic String getName()
RequirementgetName in interface Requirementpublic Menu getMenu()
MenuElementgetMenu in interface MenuElementCopyright © 2023. All rights reserved.