Class DriveType
- java.lang.Object
-
- com.orchestranetworks.addon.dama.ext.bean.DriveType
-
public final class DriveType extends java.lang.Object
Defines the drive type.- Since:
- 1.6.0
-
-
Field Summary
Fields Modifier and Type Field Description static DriveType
AWS_S3
static DriveType
AZURE_BLOB
static DriveType
CUSTOM
static DriveType
EXTERNAL_MANAGEMENT
static DriveType
FILE_SYSTEM
The Constant FileSystem.static DriveType
GG_DRIVE
static DriveType
SHARE_POINT
-
Constructor Summary
Constructors Constructor Description DriveType(java.lang.String driveType)
Instantiates a new drive type.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.lang.String
getString()
Returns the drive type string.int
hashCode()
boolean
isAwsS3Connector()
Returnstrue
if the drive type is [ON] Amazon S3.boolean
isAzureBlobConnector()
Returnstrue
if the drive type is [ON] Azure Blob.boolean
isCustomConnector()
Returnstrue
if the drive type is [ON] Custom connector.boolean
isExternalConnector()
Returnstrue
if the drive type is [ON] External management.boolean
isExternalManagement()
Returnstrue
if the drive type is [ON] External management.boolean
isFileSystem()
Returnstrue
if the drive type is [ON] File system.boolean
isGGDriveConnector()
Returnstrue
if the drive type is [ON] Google Drive.boolean
isSharePointConnector()
Returnstrue
if the drive type is [ON] SharePoint.
-
-
-
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
-
-
Method Detail
-
getString
public java.lang.String getString()
Returns the drive type string.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
- See Also:
Object.hashCode()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
- See Also:
Object.equals(java.lang.Object)
-
isFileSystem
public boolean isFileSystem()
Returnstrue
if the drive type is [ON] File system.
-
isExternalManagement
public boolean isExternalManagement()
Returnstrue
if the drive type is [ON] External management.
-
isAwsS3Connector
public boolean isAwsS3Connector()
Returnstrue
if the drive type is [ON] Amazon S3.- Since:
- 2.3.0
-
isCustomConnector
public boolean isCustomConnector()
Returnstrue
if the drive type is [ON] Custom connector.- Since:
- 2.3.0
-
isExternalConnector
public boolean isExternalConnector()
Returnstrue
if the drive type is [ON] External management. The same withisExternalManagement()
- Since:
- 2.3.0
-
isAzureBlobConnector
public boolean isAzureBlobConnector()
Returnstrue
if the drive type is [ON] Azure Blob.- Since:
- 2.5.0
-
isGGDriveConnector
public boolean isGGDriveConnector()
Returnstrue
if the drive type is [ON] Google Drive.- Since:
- 2.6.0
-
isSharePointConnector
public boolean isSharePointConnector()
Returnstrue
if the drive type is [ON] SharePoint.- Since:
- 2.6.0
-
-