Package fr.royalpha.revenge.core.handler
Enum URLManager.Link
- java.lang.Object
-
- java.lang.Enum<URLManager.Link>
-
- fr.royalpha.revenge.core.handler.URLManager.Link
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<URLManager.Link>
,java.lang.constant.Constable
- Enclosing class:
- URLManager
public static enum URLManager.Link extends java.lang.Enum<URLManager.Link>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASE_URL
BUNGEE_ANNOUNCE_PATH
DB_ACCESS
DB_SEQUENCE
GITHUB_PATH
-
Method Summary
Modifier and Type Method Description java.lang.String
getURL()
static URLManager.Link
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static URLManager.Link[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BASE_URL
public static final URLManager.Link BASE_URL
-
DB_ACCESS
public static final URLManager.Link DB_ACCESS
-
DB_SEQUENCE
public static final URLManager.Link DB_SEQUENCE
-
GITHUB_PATH
public static final URLManager.Link GITHUB_PATH
-
BUNGEE_ANNOUNCE_PATH
public static final URLManager.Link BUNGEE_ANNOUNCE_PATH
-
-
Method Detail
-
values
public static URLManager.Link[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static URLManager.Link valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getURL
public java.lang.String getURL()
-
-