Enum ServerState

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

    public enum ServerState
    extends java.lang.Enum<ServerState>
    Author:
    K. Hinsch -mst1-
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      BUSY
      Busy: Nr 3
      IDL
      Idle: Nr 0
      OPERATING
      Operating: Nr 2
      UPDATE
      Update: Nr 1
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.awt.Color foreColor  
      java.lang.String langerName
      Status des Servers
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static ServerState getDefaultState()
      Nimmt das Framework falls nicht anders gesetzt.
      java.awt.Color getForeColor()  
      java.lang.String getLangenNamen()  
      static ServerState getServerState()
      ServerState dieser Applikation, nie null
      static void setServerState​(ServerState serverState)
      ServerState dieser Applikation @throws NullPointerException
      static ServerState valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static ServerState[] 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

      • UPDATE

        public static final ServerState UPDATE
        Update: Nr 1
      • OPERATING

        public static final ServerState OPERATING
        Operating: Nr 2
      • BUSY

        public static final ServerState BUSY
        Busy: Nr 3
    • Field Detail

      • langerName

        public final java.lang.String langerName
        Status des Servers
      • foreColor

        public final java.awt.Color foreColor
    • Method Detail

      • values

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

        public static ServerState 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
      • getServerState

        public static final ServerState getServerState()
        ServerState dieser Applikation, nie null
      • setServerState

        public static final void setServerState​(ServerState serverState)
        ServerState dieser Applikation @throws NullPointerException
      • getDefaultState

        public static ServerState getDefaultState()
        Nimmt das Framework falls nicht anders gesetzt.
      • getLangenNamen

        public final java.lang.String getLangenNamen()
      • getForeColor

        public final java.awt.Color getForeColor()