Enum EXTENDED_STORAGE_DELETE

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DELETE_BOTH
      Delete files from the server repository and the local client.
      DELETE_CLIENT
      Delete files from client file system, but not from the server repository.
      DELETE_SERVER
      Delete files from the server repository, but not from the local client.
      NO_DELETE
      Do not delete files.
    • Method Summary

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

      • NO_DELETE

        public static final EXTENDED_STORAGE_DELETE NO_DELETE

        Do not delete files.

        The value of this constant is 0

      • DELETE_CLIENT

        public static final EXTENDED_STORAGE_DELETE DELETE_CLIENT

        Delete files from client file system, but not from the server repository.

        The value of this constant is 1

      • DELETE_SERVER

        public static final EXTENDED_STORAGE_DELETE DELETE_SERVER

        Delete files from the server repository, but not from the local client.

        The value of this constant is 2

      • DELETE_BOTH

        public static final EXTENDED_STORAGE_DELETE DELETE_BOTH

        Delete files from the server repository and the local client.

        The value of this constant is 3

    • Method Detail

      • values

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

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