Class DriveType


  • public final class DriveType
    extends java.lang.Object
    Defines the drive type.
    Since:
    1.6.0
    • Field Detail

      • FILE_SYSTEM

        public static final DriveType FILE_SYSTEM
        The Constant FileSystem.
      • EXTERNAL_MANAGEMENT

        public static final DriveType EXTERNAL_MANAGEMENT
        Since:
        1.8.0
      • AWS_S3

        public static final DriveType AWS_S3
        Since:
        2.3.0
      • CUSTOM

        public static final DriveType CUSTOM
      • AZURE_BLOB

        public static final DriveType AZURE_BLOB
        Since:
        2.5.0
      • GG_DRIVE

        public static final DriveType GG_DRIVE
        Since:
        2.6.0
      • SHARE_POINT

        public static final DriveType SHARE_POINT
        Since:
        2.6.0
    • Constructor Detail

      • DriveType

        public DriveType​(java.lang.String driveType)
        Instantiates a new drive type.
        Parameters:
        driveType - the drive type
    • Method Detail

      • getString

        public java.lang.String getString()
        Returns the drive type string.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • isFileSystem

        public boolean isFileSystem()
        Returns true if the drive type is [ON] File system.
      • isExternalManagement

        public boolean isExternalManagement()
        Returns true if the drive type is [ON] External management.
      • isAwsS3Connector

        public boolean isAwsS3Connector()
        Returns true if the drive type is [ON] Amazon S3.
        Since:
        2.3.0
      • isCustomConnector

        public boolean isCustomConnector()
        Returns true if the drive type is [ON] Custom connector.
        Since:
        2.3.0
      • isExternalConnector

        public boolean isExternalConnector()
        Returns true if the drive type is [ON] External management. The same with isExternalManagement()
        Since:
        2.3.0
      • isAzureBlobConnector

        public boolean isAzureBlobConnector()
        Returns true if the drive type is [ON] Azure Blob.
        Since:
        2.5.0
      • isGGDriveConnector

        public boolean isGGDriveConnector()
        Returns true if the drive type is [ON] Google Drive.
        Since:
        2.6.0
      • isSharePointConnector

        public boolean isSharePointConnector()
        Returns true if the drive type is [ON] SharePoint.
        Since:
        2.6.0