use of org.talend.components.azurestorage.blob.AzureStorageBlobService in project components by Talend.
the class AzureStorageDeleteRuntime method initialize.
@Override
public ValidationResult initialize(RuntimeContainer runtimeContainer, ComponentProperties properties) {
ValidationResult validationResult = super.initialize(runtimeContainer, properties);
if (validationResult.getStatus() == ValidationResult.Result.ERROR) {
return validationResult;
}
TAzureStorageDeleteProperties componentProperties = (TAzureStorageDeleteProperties) properties;
remoteBlobsTable = componentProperties.remoteBlobs;
this.dieOnError = componentProperties.dieOnError.getValue();
this.azureStorageBlobService = new AzureStorageBlobService(getAzureConnection(runtimeContainer));
return componentProperties.remoteBlobs.getValidationResult();
}
Aggregations