com.filenet.api.engine

Enum StorageDeviceHandler.Capability

    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      DELETE_METHOD
      Queries the most sophisticated form of secure delete supported by the device in terms of a member of the AreaDeleteMethod class, where PURGE is considered superior to DESTRUCTIVE, which is turn superior to STANDARD.
      SYNCHRONOUS_REPLICATION
      Queries the ability of the device type to support synchronous replication.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static StorageDeviceHandler.Capability valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static StorageDeviceHandler.Capability[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • SYNCHRONOUS_REPLICATION

        public static final StorageDeviceHandler.Capability SYNCHRONOUS_REPLICATION
        Queries the ability of the device type to support synchronous replication. In order to support synchronous replication the device must be capable of storing, retrieving and deleting content by means of caller-supplied identity information. If it can only retrieve and delete content via identity information generated by the device at time of creation the device can only be used as an asynchronous replica.

        If the device is able to support synchronous replication the capabilitySupported method call for this capability should return 1. Otherwise return 0.

      • DELETE_METHOD

        public static final StorageDeviceHandler.Capability DELETE_METHOD
        Queries the most sophisticated form of secure delete supported by the device in terms of a member of the AreaDeleteMethod class, where PURGE is considered superior to DESTRUCTIVE, which is turn superior to STANDARD.

        The capabilitySupported method call for this capability should should return the _AS_INT value of the appropriate class member.

    • Method Detail

      • values

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

        public static StorageDeviceHandler.Capability 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

© Copyright IBM Corporation 2006, 2019. All rights reserved.