Class UpdateAction
java.lang.Object
me.lucko.luckperms.common.bulkupdate.action.UpdateAction
- All Implemented Interfaces:
BulkUpdateAction
-
Method Summary
Modifier and TypeMethodDescriptionnet.luckperms.api.node.Nodeapply(net.luckperms.api.node.Node from) Applies this action to the given NodeModel, and returns the result.getField()getName()Gets the name of this actionstatic UpdateActionof(BulkUpdateField field, String value)
-
Method Details
-
of
-
getName
Description copied from interface:BulkUpdateActionGets the name of this action- Specified by:
getNamein interfaceBulkUpdateAction- Returns:
- the name of the action
-
getField
-
getNewValue
-
apply
public net.luckperms.api.node.Node apply(net.luckperms.api.node.Node from) Description copied from interface:BulkUpdateActionApplies this action to the given NodeModel, and returns the result.- Specified by:
applyin interfaceBulkUpdateAction- Parameters:
from- the node to base changes from- Returns:
- the new node instance, or null if the node should be deleted.
-