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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe EngineHub pastebin service, at https://paste.enginehub.org/ -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.ImmutableSet<String>
Get a set of aliases.getName()
Gets the name of this share destination.Returns the enum constant of this class with the specified name.static BuiltInClipboardShareDestinations[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.sk89q.worldedit.extent.clipboard.io.share.ClipboardShareDestination
getDefaultFormat, share, supportsFormat
-
Enum Constant Details
-
ENGINEHUB_PASTEBIN
The EngineHub pastebin service, at https://paste.enginehub.org/
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
getAliases
Description copied from interface:ClipboardShareDestination
Get a set of aliases.- Specified by:
getAliases
in interfaceClipboardShareDestination
- Returns:
- a set of aliases
-
getName
Description copied from interface:ClipboardShareDestination
Gets the name of this share destination.- Specified by:
getName
in interfaceClipboardShareDestination
- Returns:
- The name
-