Enum ServiceEnvironmentType
- java.lang.Object
-
- java.lang.Enum<ServiceEnvironmentType>
-
- de.dytanic.cloudnet.driver.service.ServiceEnvironmentType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ServiceEnvironmentType>
public enum ServiceEnvironmentType extends java.lang.Enum<ServiceEnvironmentType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BUNGEECORDGLOWSTONEMINECRAFT_SERVERNUKKITVELOCITYWATERDOG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetDefaultStartPort()ServiceEnvironment[]getEnvironments()java.util.Collection<java.lang.String>getIgnoredConsoleLines()booleanisMinecraftBedrock()booleanisMinecraftBedrockProxy()booleanisMinecraftBedrockServer()booleanisMinecraftJava()booleanisMinecraftJavaProxy()booleanisMinecraftJavaServer()booleanisMinecraftProxy()booleanisMinecraftServer()static ServiceEnvironmentTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ServiceEnvironmentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MINECRAFT_SERVER
public static final ServiceEnvironmentType MINECRAFT_SERVER
-
GLOWSTONE
public static final ServiceEnvironmentType GLOWSTONE
-
NUKKIT
public static final ServiceEnvironmentType NUKKIT
-
BUNGEECORD
public static final ServiceEnvironmentType BUNGEECORD
-
VELOCITY
public static final ServiceEnvironmentType VELOCITY
-
WATERDOG
public static final ServiceEnvironmentType WATERDOG
-
-
Method Detail
-
values
public static ServiceEnvironmentType[] 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 (ServiceEnvironmentType c : ServiceEnvironmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceEnvironmentType 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
-
getEnvironments
public ServiceEnvironment[] getEnvironments()
-
isMinecraftJavaProxy
public boolean isMinecraftJavaProxy()
-
isMinecraftBedrockProxy
public boolean isMinecraftBedrockProxy()
-
isMinecraftJavaServer
public boolean isMinecraftJavaServer()
-
isMinecraftBedrockServer
public boolean isMinecraftBedrockServer()
-
isMinecraftProxy
public boolean isMinecraftProxy()
-
isMinecraftServer
public boolean isMinecraftServer()
-
isMinecraftJava
public boolean isMinecraftJava()
-
isMinecraftBedrock
public boolean isMinecraftBedrock()
-
getDefaultStartPort
public int getDefaultStartPort()
-
getIgnoredConsoleLines
public java.util.Collection<java.lang.String> getIgnoredConsoleLines()
-
-