Package net.md_5.bungee.protocol.packet
Enum ServerLinks.LinkType
- java.lang.Object
-
- java.lang.Enum<ServerLinks.LinkType>
-
- net.md_5.bungee.protocol.packet.ServerLinks.LinkType
-
- All Implemented Interfaces:
Serializable,Comparable<ServerLinks.LinkType>
- Enclosing class:
- ServerLinks
public static enum ServerLinks.LinkType extends Enum<ServerLinks.LinkType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANNOUNCEMENTSCOMMUNITYCOMMUNITY_GUIDELINESFEEDBACKFORUMSNEWSREPORT_BUGSTATUSSUPPORTWEBSITE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ServerLinks.LinkTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ServerLinks.LinkType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
REPORT_BUG
public static final ServerLinks.LinkType REPORT_BUG
-
COMMUNITY_GUIDELINES
public static final ServerLinks.LinkType COMMUNITY_GUIDELINES
-
SUPPORT
public static final ServerLinks.LinkType SUPPORT
-
STATUS
public static final ServerLinks.LinkType STATUS
-
FEEDBACK
public static final ServerLinks.LinkType FEEDBACK
-
COMMUNITY
public static final ServerLinks.LinkType COMMUNITY
-
WEBSITE
public static final ServerLinks.LinkType WEBSITE
-
FORUMS
public static final ServerLinks.LinkType FORUMS
-
NEWS
public static final ServerLinks.LinkType NEWS
-
ANNOUNCEMENTS
public static final ServerLinks.LinkType ANNOUNCEMENTS
-
-
Method Detail
-
values
public static ServerLinks.LinkType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ServerLinks.LinkType c : ServerLinks.LinkType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServerLinks.LinkType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-