Enum LocalBackend.BackendOperation

    • Enum Constant Detail

      • INDEXING

        public static final LocalBackend.BackendOperation INDEXING
        Indicates whether this backend supports indexing attributes to speed up searches.
      • LDIF_EXPORT

        public static final LocalBackend.BackendOperation LDIF_EXPORT
        Indicates whether this backend supports exporting the data it contains to an LDIF file.
      • LDIF_IMPORT

        public static final LocalBackend.BackendOperation LDIF_IMPORT
        Indicates whether this backend supports importing its data from an LDIF file.
      • BACKUP

        public static final LocalBackend.BackendOperation BACKUP
        Indicates whether this backend provides a backup mechanism of any kind. This method is used by the backup process when backing up all backends to determine whether this backend is one that should be skipped. It should only return true for backends that it is not possible to archive directly (e.g., those that don't store their data locally, but rather pass through requests to some other repository).
      • OFFLINE_RESTORE

        public static final LocalBackend.BackendOperation OFFLINE_RESTORE
        Indicates whether this backend can restore a backup when the server is offline.
      • ONLINE_RESTORE

        public static final LocalBackend.BackendOperation ONLINE_RESTORE
        Indicates whether this backend can restore a backup when the server is online.
      • OFFLINE_CHANGES

        public static final LocalBackend.BackendOperation OFFLINE_CHANGES
        Indicates whether this backend's content may be modified while the server is offline.
    • Method Detail

      • values

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

        public static LocalBackend.BackendOperation 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