Enum ServiceEnvironmentType

    • 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 name
        java.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)
      • 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()