Interface BulkUpdateAction

All Known Implementing Classes:
DeleteAction, UpdateAction

public interface BulkUpdateAction
Represents an action to be applied to a given node.
  • Method Summary

    Modifier and Type
    Method
    Description
    net.luckperms.api.node.Node
    apply(net.luckperms.api.node.Node from)
    Applies this action to the given NodeModel, and returns the result.
    Gets the name of this action
  • Method Details

    • getName

      String getName()
      Gets the name of this action
      Returns:
      the name of the action
    • apply

      net.luckperms.api.node.Node apply(net.luckperms.api.node.Node from)
      Applies this action to the given NodeModel, and returns the result.
      Parameters:
      from - the node to base changes from
      Returns:
      the new node instance, or null if the node should be deleted.