Modul de.rpgframework.rules
Schnittstelle SelectedValueController<V extends DataItemValue<?>>
- Alle Superschnittstellen:
ProcessingStep
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungcanBeDeselected(V value) Check if the user is allowed to deselect the itemcanBeSelected(V value) Check if the user is allowed to select the itembooleanRemove/Deselect the itemGet all no yet selected items - either even with those whose requirements are not met, or without them-getRecommendationState(V value) Get a list of all currently selected itemsgetToDos()Returns a list of steps to do in this controllerAdd/Select the item using the given decisionsVon Schnittstelle geerbte Methoden de.rpgframework.character.ProcessingStep
process
-
Methodendetails
-
getAvailable
Get all no yet selected items - either even with those whose requirements are not met, or without them-- Parameter:
ignoreRequirements- Also return items whose requirements are not met- Gibt zurück:
-
getSelected
Get a list of all currently selected items -
getRecommendationState
-
canBeSelected
Check if the user is allowed to select the item- Parameter:
value- Item to select- Gibt zurück:
- Selection allowed or not
- Löst aus:
IllegalArgumentException- Thrown if a decision is missing or invalid
-
select
Add/Select the item using the given decisions- Parameter:
value- Item to select- Gibt zurück:
- value instance of selected item
- Löst aus:
IllegalArgumentException- Thrown if a decision is missing or invalid
-
canBeDeselected
Check if the user is allowed to deselect the item- Parameter:
value- ItemValue to deselect- Gibt zurück:
- Deselection allowed or not
-
deselect
Remove/Deselect the item- Parameter:
value- Item to select- Gibt zurück:
- TRUE if item has been deselected
- Löst aus:
IllegalArgumentException- Thrown if a decision is missing or invalid
-
getToDos
List<ToDoElement> getToDos()Returns a list of steps to do in this controller
-