Enum Class BuiltInClipboardShareDestinations

java.lang.Object
java.lang.Enum<BuiltInClipboardShareDestinations>
com.sk89q.worldedit.extent.clipboard.io.share.BuiltInClipboardShareDestinations
All Implemented Interfaces:
ClipboardShareDestination, Serializable, Comparable<BuiltInClipboardShareDestinations>, Constable

public enum BuiltInClipboardShareDestinations extends Enum<BuiltInClipboardShareDestinations> implements ClipboardShareDestination
A collection of natively supported clipboard share destinations.
  • Enum Constant Details

  • Method Details

    • values

      public static BuiltInClipboardShareDestinations[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static BuiltInClipboardShareDestinations valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getAliases

      public com.google.common.collect.ImmutableSet<String> getAliases()
      Description copied from interface: ClipboardShareDestination
      Get a set of aliases.
      Specified by:
      getAliases in interface ClipboardShareDestination
      Returns:
      a set of aliases
    • getName

      public String getName()
      Description copied from interface: ClipboardShareDestination
      Gets the name of this share destination.
      Specified by:
      getName in interface ClipboardShareDestination
      Returns:
      The name