Enum L2TunnelHandler.Result

    • Enum Constant Detail

      • WRONG_PARAMETERS

        public static final L2TunnelHandler.Result WRONG_PARAMETERS
        We have problems with the supplied parameters.
      • INTERNAL_ERROR

        public static final L2TunnelHandler.Result INTERNAL_ERROR
        We have an internal error during the deployment or removal phase.
      • PATH_NOT_FOUND

        public static final L2TunnelHandler.Result PATH_NOT_FOUND
        No path found between the connection points.
      • CONFIGURATION_ERROR

        public static final L2TunnelHandler.Result CONFIGURATION_ERROR
        Error in global pseudowires configuration.
    • Method Detail

      • values

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

        public static L2TunnelHandler.Result 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
      • getSpecificError

        public String getSpecificError()
      • getDescription

        public String getDescription()
      • getNextId

        public int getNextId()
      • setNextId

        protected void setNextId​(int nextId)