Enum InstructionsEnum

  • All Implemented Interfaces:
    Serializable, Comparable<InstructionsEnum>

    public enum InstructionsEnum
    extends Enum<InstructionsEnum>

    Java class for InstructionsEnum.

    The following schema fragment specifies the expected content contained within this class.

     <simpleType name="InstructionsEnum">
       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
         <enumeration value="allowEmergencyVehiclesToPass"/>
         <enumeration value="approachWithCare"/>
         <enumeration value="clearALaneForEmergencyVehicles"/>
         <enumeration value="clearALaneForSnowploughsAndGrittingVehicles"/>
         <enumeration value="closeAllWindowsTurnOffHeaterAndVents"/>
         <enumeration value="crossJunctionWithCare"/>
         <enumeration value="doNotAllowUnnecessaryGaps"/>
         <enumeration value="doNotDriveOnTheHardShoulder"/>
         <enumeration value="doNotLeaveYourVehicle"/>
         <enumeration value="doNotSlowdownUnnecessarily"/>
         <enumeration value="doNotThrowOutAnyBurningObjects"/>
         <enumeration value="driveCarefully"/>
         <enumeration value="driveWithExtremeCaution"/>
         <enumeration value="followTheVehicleInFrontSmoothly"/>
         <enumeration value="increaseNormalFollowingDistance"/>
         <enumeration value="inEmergencyWaitForPolicePatrol"/>
         <enumeration value="keepYourDistance"/>
         <enumeration value="leaveYourVehicleProceedToNextSafePlace"/>
         <enumeration value="noNakedFlames"/>
         <enumeration value="noOvertaking"/>
         <enumeration value="noSmoking"/>
         <enumeration value="observeSignals"/>
         <enumeration value="observeSigns"/>
         <enumeration value="onlyTravelIfAbsolutelyNecessary"/>
         <enumeration value="overtakeWithCare"/>
         <enumeration value="pleaseUseBusService"/>
         <enumeration value="pleaseUseRailService"/>
         <enumeration value="pleaseUseTramService"/>
         <enumeration value="pleaseUseUndergroundService"/>
         <enumeration value="pullOverToTheEdgeOfTheRoadway"/>
         <enumeration value="stopAtNextSafePlace"/>
         <enumeration value="stopAtNextServiceArea"/>
         <enumeration value="switchOffEngine"/>
         <enumeration value="switchOffMobilePhonesAndTwoWayRadios"/>
         <enumeration value="testYourBrakes"/>
         <enumeration value="useFogLights"/>
         <enumeration value="useHardShoulderAsLane"/>
         <enumeration value="useHazardWarningLights"/>
         <enumeration value="useHeadlights"/>
         <enumeration value="waitForEscortVehicle"/>
         <enumeration value="other"/>
       </restriction>
     </simpleType>
     
    • Enum Constant Detail

      • ALLOW_EMERGENCY_VEHICLES_TO_PASS

        public static final InstructionsEnum ALLOW_EMERGENCY_VEHICLES_TO_PASS
        Allow emergency vehicles to pass.
      • APPROACH_WITH_CARE

        public static final InstructionsEnum APPROACH_WITH_CARE
        Approach with care.
      • CLEAR_A_LANE_FOR_EMERGENCY_VEHICLES

        public static final InstructionsEnum CLEAR_A_LANE_FOR_EMERGENCY_VEHICLES
        Clear a lane for emergency vehicles.
      • CLEAR_A_LANE_FOR_SNOWPLOUGHS_AND_GRITTING_VEHICLES

        public static final InstructionsEnum CLEAR_A_LANE_FOR_SNOWPLOUGHS_AND_GRITTING_VEHICLES
        Clear a lane for snow ploughs and gritting vehicles.
      • CLOSE_ALL_WINDOWS_TURN_OFF_HEATER_AND_VENTS

        public static final InstructionsEnum CLOSE_ALL_WINDOWS_TURN_OFF_HEATER_AND_VENTS
        Close all windows and turn off heater and vents.
      • CROSS_JUNCTION_WITH_CARE

        public static final InstructionsEnum CROSS_JUNCTION_WITH_CARE
        Cross junction with care.
      • DO_NOT_ALLOW_UNNECESSARY_GAPS

        public static final InstructionsEnum DO_NOT_ALLOW_UNNECESSARY_GAPS
        Do not allow unnecessary gaps.
      • DO_NOT_DRIVE_ON_THE_HARD_SHOULDER

        public static final InstructionsEnum DO_NOT_DRIVE_ON_THE_HARD_SHOULDER
        Do not drive on the hard shoulder.
      • DO_NOT_LEAVE_YOUR_VEHICLE

        public static final InstructionsEnum DO_NOT_LEAVE_YOUR_VEHICLE
        Do not leave your vehicle.
      • DO_NOT_SLOWDOWN_UNNECESSARILY

        public static final InstructionsEnum DO_NOT_SLOWDOWN_UNNECESSARILY
        Do not slow down unnecessarily.
      • DO_NOT_THROW_OUT_ANY_BURNING_OBJECTS

        public static final InstructionsEnum DO_NOT_THROW_OUT_ANY_BURNING_OBJECTS
        Do not throw out any burning objects.
      • DRIVE_CAREFULLY

        public static final InstructionsEnum DRIVE_CAREFULLY
        Drive carefully.
      • DRIVE_WITH_EXTREME_CAUTION

        public static final InstructionsEnum DRIVE_WITH_EXTREME_CAUTION
        Drive with extreme caution.
      • FOLLOW_THE_VEHICLE_IN_FRONT_SMOOTHLY

        public static final InstructionsEnum FOLLOW_THE_VEHICLE_IN_FRONT_SMOOTHLY
        Follow the vehicle in front, smoothly.
      • INCREASE_NORMAL_FOLLOWING_DISTANCE

        public static final InstructionsEnum INCREASE_NORMAL_FOLLOWING_DISTANCE
        Increase normal following distance.
      • IN_EMERGENCY_WAIT_FOR_POLICE_PATROL

        public static final InstructionsEnum IN_EMERGENCY_WAIT_FOR_POLICE_PATROL
        In emergency, wait for police patrol.
      • KEEP_YOUR_DISTANCE

        public static final InstructionsEnum KEEP_YOUR_DISTANCE
        Keep your distance.
      • LEAVE_YOUR_VEHICLE_PROCEED_TO_NEXT_SAFE_PLACE

        public static final InstructionsEnum LEAVE_YOUR_VEHICLE_PROCEED_TO_NEXT_SAFE_PLACE
        Leave your vehicle and proceed to next save place.
      • NO_NAKED_FLAMES

        public static final InstructionsEnum NO_NAKED_FLAMES
        No naked flames.
      • NO_OVERTAKING

        public static final InstructionsEnum NO_OVERTAKING
        No overtaking.
      • OBSERVE_SIGNALS

        public static final InstructionsEnum OBSERVE_SIGNALS
        Observe signals.
      • OBSERVE_SIGNS

        public static final InstructionsEnum OBSERVE_SIGNS
        Observe signs.
      • ONLY_TRAVEL_IF_ABSOLUTELY_NECESSARY

        public static final InstructionsEnum ONLY_TRAVEL_IF_ABSOLUTELY_NECESSARY
        Only travel if absolutely necessary.
      • OVERTAKE_WITH_CARE

        public static final InstructionsEnum OVERTAKE_WITH_CARE
        Overtake with care.
      • PLEASE_USE_BUS_SERVICE

        public static final InstructionsEnum PLEASE_USE_BUS_SERVICE
        Please use bus service.
      • PLEASE_USE_RAIL_SERVICE

        public static final InstructionsEnum PLEASE_USE_RAIL_SERVICE
        Please use rail service.
      • PLEASE_USE_TRAM_SERVICE

        public static final InstructionsEnum PLEASE_USE_TRAM_SERVICE
        Please use tram service.
      • PLEASE_USE_UNDERGROUND_SERVICE

        public static final InstructionsEnum PLEASE_USE_UNDERGROUND_SERVICE
        Please use underground service.
      • PULL_OVER_TO_THE_EDGE_OF_THE_ROADWAY

        public static final InstructionsEnum PULL_OVER_TO_THE_EDGE_OF_THE_ROADWAY
        Pull over to the edge of the roadway.
      • STOP_AT_NEXT_SAFE_PLACE

        public static final InstructionsEnum STOP_AT_NEXT_SAFE_PLACE
        Stop at next safe place.
      • STOP_AT_NEXT_SERVICE_AREA

        public static final InstructionsEnum STOP_AT_NEXT_SERVICE_AREA
        Stop at next rest service area or car park.
      • SWITCH_OFF_ENGINE

        public static final InstructionsEnum SWITCH_OFF_ENGINE
        Switch off engine.
      • SWITCH_OFF_MOBILE_PHONES_AND_TWO_WAY_RADIOS

        public static final InstructionsEnum SWITCH_OFF_MOBILE_PHONES_AND_TWO_WAY_RADIOS
        Switch off mobile phones and two-way radios.
      • TEST_YOUR_BRAKES

        public static final InstructionsEnum TEST_YOUR_BRAKES
        Test your brakes.
      • USE_FOG_LIGHTS

        public static final InstructionsEnum USE_FOG_LIGHTS
        Use fog lights.
      • USE_HARD_SHOULDER_AS_LANE

        public static final InstructionsEnum USE_HARD_SHOULDER_AS_LANE
        Use hard shoulder as lane.
      • USE_HAZARD_WARNING_LIGHTS

        public static final InstructionsEnum USE_HAZARD_WARNING_LIGHTS
        Use hazard warning lights.
      • USE_HEADLIGHTS

        public static final InstructionsEnum USE_HEADLIGHTS
        Use headlights.
      • WAIT_FOR_ESCORT_VEHICLE

        public static final InstructionsEnum WAIT_FOR_ESCORT_VEHICLE
        Wait for escort vehicle.
      • OTHER

        public static final InstructionsEnum OTHER
        Other than as defined in this enumeration.
    • Method Detail

      • values

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

        public static InstructionsEnum valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • value

        public String value()