updateEntry
Updates the default action or a situation-specific action override for a registered entry.
Return
true if the entry was found and updated, false otherwise.
Parameters
name
The name of the action entry to update.
action
The new Action.
situation
The optional Situation to override. If null (default), the default action is updated.
Updates the predicate for a registered action entry.
Return
true if the entry was found and updated, false otherwise.
Parameters
name
The name of the action entry to update.
predicate
The new ActionPredicate. Can be null to remove the predicate.