Interface Group


public interface Group
Method parameter for providing values about a group with provider annotations.

Usage Example: @StringProvider String provideStringAboutGroup(Group group)

Group names of users are provided with @GroupProvider String[] provideGroups(UUID playerUUID) Group parameter methods are not called without knowledge of a group name.

This method parameter is used since it is not possible to differentiate String playerName and String groupName.

  • Method Summary

    Modifier and Type
    Method
    Description
    Get the name of the group.
  • Method Details

    • getGroupName

      String getGroupName()
      Get the name of the group.
      Returns:
      Name of the group given by a GroupProvider, e.g. "Miner"