Enum DirectionMessageType

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

    public enum DirectionMessageType
    extends java.lang.Enum<DirectionMessageType>
    Specifies the type of a DirectionMessage. These are associated with the more detailed direction info passed back from a route solving operation.
    Since:
    100.0.0
    See Also:
    DirectionMessage.getType()
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static DirectionMessageType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static DirectionMessageType[] 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

      • LENGTH

        @Deprecated
        public static final DirectionMessageType LENGTH
        Deprecated.
        As of 100.2.0, no replacement.
        Length.
        Since:
        100.0.0
      • TIME

        @Deprecated
        public static final DirectionMessageType TIME
        Deprecated.
        As of 100.2.0, no replacement.
        Time.
        Since:
        100.0.0
      • SUMMARY

        @Deprecated
        public static final DirectionMessageType SUMMARY
        Deprecated.
        As of 100.2.0, no replacement.
        Summary.
        Since:
        100.0.0
      • TIME_WINDOW

        @Deprecated
        public static final DirectionMessageType TIME_WINDOW
        Deprecated.
        As of 100.2.0, no replacement.
        Time window.
        Since:
        100.0.0
      • SERVICE_TIME

        @Deprecated
        public static final DirectionMessageType SERVICE_TIME
        Deprecated.
        As of 100.2.0, no replacement.
        Service time for a Stop.
        Since:
        100.0.0
      • ESTIMATED_ARRIVAL_TIME

        @Deprecated
        public static final DirectionMessageType ESTIMATED_ARRIVAL_TIME
        Deprecated.
        As of 100.2.0, no replacement.
        Estimated arrival time.
        Since:
        100.0.0
      • CUMULATIVE_LENGTH

        @Deprecated
        public static final DirectionMessageType CUMULATIVE_LENGTH
        Deprecated.
        As of 100.2.0, no replacement.
        Cumulative length.
        Since:
        100.0.0
      • ALTERNATIVE_NAME

        public static final DirectionMessageType ALTERNATIVE_NAME
        Alternative street name.
        Since:
        100.0.0
    • Method Detail

      • values

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

        public static DirectionMessageType 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