Enum RenderStatus

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<RenderStatus>

    public enum RenderStatus
    extends java.lang.Enum<RenderStatus>
    渲染进程状态
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      CANCEL
      "cancel", "render canceled, check log"
      CRASH
      "crash", "render crashed, check log"
      END
      "end", "render finished"
      FAIL
      "fail", "render failed, check log"
      START
      "start", "render start"
      UPDATE
      "update", "render update, is running"
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMsg()  
      java.lang.String getStatus()  
      void setMsg​(java.lang.String msg)  
      void setStatus​(java.lang.String status)  
      static RenderStatus valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static RenderStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • START

        public static final RenderStatus START
        "start", "render start"
      • END

        public static final RenderStatus END
        "end", "render finished"
      • UPDATE

        public static final RenderStatus UPDATE
        "update", "render update, is running"
      • CANCEL

        public static final RenderStatus CANCEL
        "cancel", "render canceled, check log"
      • FAIL

        public static final RenderStatus FAIL
        "fail", "render failed, check log"
      • CRASH

        public static final RenderStatus CRASH
        "crash", "render crashed, check log"
    • Method Detail

      • values

        public static RenderStatus[] 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 (RenderStatus c : RenderStatus.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RenderStatus 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
      • getStatus

        public java.lang.String getStatus()
      • setStatus

        public void setStatus​(java.lang.String status)
      • getMsg

        public java.lang.String getMsg()
      • setMsg

        public void setMsg​(java.lang.String msg)