Enum Version.Action

    • Enum Constant Detail

      • FIRST

        public static final Version.Action FIRST
        Select the first version of a resource.
      • LAST

        public static final Version.Action LAST
        Select the most recent version of a resource.
      • NEXT

        public static final Version.Action NEXT
        Select the previous version of a resource relative to the version specified using the rid attribute.
      • PREVIOUS

        public static final Version.Action PREVIOUS
        Select the next version of a resource relative to the version specified using the rid attribute.
      • ALL

        public static final Version.Action ALL
        Select all available version of a resource.
    • Method Detail

      • values

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

        public static Version.Action 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