Class GroupingConflictResult

java.lang.Object
org.mvplugins.multiverse.inventories.profile.group.GroupingConflictResult

@AvailableSince("5.2") public final class GroupingConflictResult extends Object
Represents the result of checking for grouping conflicts. This class encapsulates a list of conflicts found between world groups.
  • Method Details

    • hasConflict

      @AvailableSince("5.2") public boolean hasConflict()
      Checks if there are any conflicts found.
      Returns:
      true if there are conflicts, false otherwise.
    • sendConflictIssue

      @AvailableSince("5.2") public void sendConflictIssue(org.mvplugins.multiverse.core.command.MVCommandIssuer issuer)
      Sends message to the issuer detailing the conflicts found.
      Parameters:
      issuer - the sender of the message
    • getConflicts

      @AvailableSince("5.2") public List<GroupingConflict> getConflicts()
      Gets the list of conflicts found.
      Returns:
      a list of GroupingConflict objects representing the conflicts.