| Package | Description |
|---|---|
| org.finra.herd.model.api.xml | |
| org.finra.herd.model.dto | |
| org.finra.herd.service.helper |
| Modifier and Type | Field and Description |
|---|---|
protected List<StorageFile> |
BusinessObjectDataStorageFilesCreateRequest.storageFiles |
protected List<StorageFile> |
BusinessObjectDataStorageFilesCreateResponse.storageFiles |
protected List<StorageFile> |
StorageUnit.storageFiles |
protected List<StorageFile> |
StorageUnitCreateRequest.storageFiles |
| Modifier and Type | Method and Description |
|---|---|
StorageFile |
ObjectFactory.createStorageFile()
Create an instance of
StorageFile |
| Modifier and Type | Method and Description |
|---|---|
List<StorageFile> |
BusinessObjectDataStorageFilesCreateRequest.getStorageFiles() |
List<StorageFile> |
BusinessObjectDataStorageFilesCreateResponse.getStorageFiles() |
List<StorageFile> |
StorageUnit.getStorageFiles() |
List<StorageFile> |
StorageUnitCreateRequest.getStorageFiles() |
| Modifier and Type | Method and Description |
|---|---|
void |
BusinessObjectDataStorageFilesCreateRequest.setStorageFiles(List<StorageFile> storageFiles) |
void |
BusinessObjectDataStorageFilesCreateResponse.setStorageFiles(List<StorageFile> storageFiles) |
void |
StorageUnit.setStorageFiles(List<StorageFile> storageFiles) |
void |
StorageUnitCreateRequest.setStorageFiles(List<StorageFile> storageFiles) |
| Constructor and Description |
|---|
BusinessObjectDataStorageFilesCreateRequest(String namespace,
String businessObjectDefinitionName,
String businessObjectFormatUsage,
String businessObjectFormatFileType,
Integer businessObjectFormatVersion,
String partitionValue,
List<String> subPartitionValues,
Integer businessObjectDataVersion,
String storageName,
List<StorageFile> storageFiles,
Boolean discoverStorageFiles)
Fully-initialising value constructor
|
BusinessObjectDataStorageFilesCreateResponse(String namespace,
String businessObjectDefinitionName,
String businessObjectFormatUsage,
String businessObjectFormatFileType,
Integer businessObjectFormatVersion,
String partitionValue,
List<String> subPartitionValues,
Integer businessObjectDataVersion,
String storageName,
List<StorageFile> storageFiles)
Fully-initialising value constructor
|
StorageUnit(Storage storage,
StorageDirectory storageDirectory,
List<StorageFile> storageFiles,
String storageUnitStatus)
Fully-initialising value constructor
|
StorageUnitCreateRequest(String storageName,
StorageDirectory storageDirectory,
List<StorageFile> storageFiles,
Boolean discoverStorageFiles)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
List<StorageFile> |
BusinessObjectDataRestoreDto.getOriginStorageFiles() |
List<StorageFile> |
StoragePolicyTransitionParamsDto.getSourceStorageFiles() |
| Modifier and Type | Method and Description |
|---|---|
void |
BusinessObjectDataRestoreDto.setOriginStorageFiles(List<StorageFile> originStorageFiles) |
void |
StoragePolicyTransitionParamsDto.setSourceStorageFiles(List<StorageFile> sourceStorageFiles) |
| Constructor and Description |
|---|
BusinessObjectDataRestoreDto(BusinessObjectDataKey businessObjectDataKey,
String originStorageName,
String originBucketName,
String originS3KeyPrefix,
String newOriginStorageUnitStatus,
String oldOriginStorageUnitStatus,
List<StorageFile> originStorageFiles,
String glacierStorageName,
String glacierBucketName,
String glacierS3KeyBasePrefix,
String glacierS3KeyPrefix,
Exception exception)
Fully-initialising value constructor.
|
StoragePolicyTransitionParamsDto(BusinessObjectDataKey businessObjectDataKey,
String sourceStorageName,
String sourceBucketName,
String sourceS3KeyPrefix,
String newSourceStorageUnitStatus,
String oldSourceStorageUnitStatus,
List<StorageFile> sourceStorageFiles,
String destinationStorageName,
String destinationBucketName,
String destinationS3KeyBasePrefix,
String newDestinationStorageUnitStatus,
String oldDestinationStorageUnitStatus)
Fully-initialising value constructor.
|
| Modifier and Type | Method and Description |
|---|---|
StorageFile |
StorageFileHelper.createStorageFileFromEntity(StorageFileEntity storageFileEntity)
Creates a storage file from the storage file entity.
|
| Modifier and Type | Method and Description |
|---|---|
List<StorageFile> |
StorageFileHelper.createStorageFilesFromEntities(Collection<StorageFileEntity> storageFileEntities)
Creates a list of storage files from the collection of storage file entities.
|
List<StorageFile> |
StorageFileHelper.createStorageFilesFromS3ObjectSummaries(List<com.amazonaws.services.s3.model.S3ObjectSummary> s3ObjectSummaries)
Creates a list of storage files from the list of S3 object summaries.
|
Map<String,StorageFile> |
StorageFileHelper.getStorageFilesMapFromS3ObjectSummaries(List<com.amazonaws.services.s3.model.S3ObjectSummary> s3ObjectSummaries)
Returns a map of file paths to the storage files build from the list of S3 object summaries with map iteration order matching the original list order.
|
Map<String,StorageFile> |
StorageFileHelper.getStorageFilesMapFromStorageFiles(List<StorageFile> storageFiles)
Returns a map of file paths to the storage files build from the list of storage files with map iteration order matching the original list order.
|
| Modifier and Type | Method and Description |
|---|---|
void |
StorageFileHelper.validateStorageFile(StorageFile storageFile,
String s3BucketName,
Map<String,StorageFile> actualS3Keys,
boolean validateFileSize)
Validates storage file against the actual S3 objects reported by S3.
|
| Modifier and Type | Method and Description |
|---|---|
List<StorageFileEntity> |
StorageFileDaoHelper.createStorageFileEntitiesFromStorageFiles(StorageUnitEntity storageUnitEntity,
List<StorageFile> storageFiles)
Creates storage file entities from the list of storage files.
|
List<String> |
StorageFileHelper.getFilePathsFromStorageFiles(List<StorageFile> storageFiles)
Returns a list of file paths extracted from the specified list of storage files.
|
List<File> |
StorageFileHelper.getFiles(List<StorageFile> storageFiles)
Returns a list of files extracted from the specified list of storage files.
|
Map<String,StorageFile> |
StorageFileHelper.getStorageFilesMapFromStorageFiles(List<StorageFile> storageFiles)
Returns a map of file paths to the storage files build from the list of storage files with map iteration order matching the original list order.
|
long |
StorageFileHelper.getStorageFilesSizeBytes(Collection<StorageFile> storageFiles)
Get the total size in bytes of all storage files in the specified list.
|
void |
StorageFileHelper.validateArchivedS3Files(List<StorageFile> expectedStorageFiles,
List<com.amazonaws.services.s3.model.S3ObjectSummary> actualS3Files,
String storageName,
BusinessObjectDataKey businessObjectDataKey)
Validates archived S3 files per list of expected storage files.
|
void |
StorageFileHelper.validateCopiedS3Files(List<StorageFile> expectedStorageFiles,
List<com.amazonaws.services.s3.model.S3ObjectSummary> actualS3Files,
String storageName,
BusinessObjectDataKey businessObjectDataKey)
Validates copied S3 files per list of expected storage files.
|
void |
StorageFileHelper.validateDownloadedS3Files(String baseDirectory,
String s3KeyPrefix,
List<StorageFile> storageFiles)
Validate downloaded S3 files per specified list of storage files.
|
void |
StorageFileHelper.validateRestoredS3Files(List<StorageFile> expectedStorageFiles,
List<com.amazonaws.services.s3.model.S3ObjectSummary> actualS3Files,
String storageName,
BusinessObjectDataKey businessObjectDataKey)
Validates restored S3 files per list of expected storage files.
|
void |
StorageFileHelper.validateSourceS3Files(List<StorageFile> expectedStorageFiles,
List<com.amazonaws.services.s3.model.S3ObjectSummary> actualS3Files,
String storageName,
BusinessObjectDataKey businessObjectDataKey)
Validates registered S3 files per list of expected storage files.
|
void |
StorageFileHelper.validateStorageFile(StorageFile storageFile,
String s3BucketName,
Map<String,StorageFile> actualS3Keys,
boolean validateFileSize)
Validates storage file against the actual S3 objects reported by S3.
|
void |
StorageFileHelper.validateStorageFileEntity(StorageFileEntity storageFileEntity,
String s3BucketName,
Map<String,StorageFile> actualS3Keys,
boolean validateFileSize)
Validates storage file entity against the actual S3 objects reported by S3.
|
Copyright © 2017. All rights reserved.