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 BUNGEECORDGLOWSTONEGO_MINTMINECRAFT_SERVERNUKKITVELOCITYWATERDOG
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description @NotNull java.lang.StringgetClasspath(@NotNull java.io.File wrapperFile, @Nullable java.io.File applicationFile)Deprecated.@NotNull java.lang.StringgetClasspath(@NotNull java.nio.file.Path wrapperFile, @Nullable java.nio.file.Path applicationFile)intgetDefaultStartPort()ServiceEnvironment[]getEnvironments()java.util.Collection<java.lang.String>getIgnoredConsoleLines()@Nullable java.lang.StringgetMainClass(@Nullable java.io.File applicationFile)Deprecated.@Nullable java.lang.StringgetMainClass(@Nullable java.nio.file.Path applicationFile)MinecraftServiceTypegetMinecraftType()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
-
GO_MINT
public static final ServiceEnvironmentType GO_MINT
-
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
-
getMainClass
@Deprecated @Nullable public @Nullable java.lang.String getMainClass(@Nullable @Nullable java.io.File applicationFile)Deprecated.
-
getMainClass
@Nullable public @Nullable java.lang.String getMainClass(@Nullable @Nullable java.nio.file.Path applicationFile)
-
getClasspath
@Deprecated @NotNull public @NotNull java.lang.String getClasspath(@NotNull @NotNull java.io.File wrapperFile, @Nullable @Nullable java.io.File applicationFile)Deprecated.
-
getClasspath
@NotNull public @NotNull java.lang.String getClasspath(@NotNull @NotNull java.nio.file.Path wrapperFile, @Nullable @Nullable java.nio.file.Path applicationFile)
-
getEnvironments
public ServiceEnvironment[] getEnvironments()
-
getMinecraftType
public MinecraftServiceType getMinecraftType()
-
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()
-
-