use of org.talend.components.azurestorage.queue.AzureStorageQueueService in project components by Talend.
the class AzureStorageQueueDeleteRuntime method initialize.
@Override
public ValidationResult initialize(RuntimeContainer runtimeContainer, ComponentProperties properties) {
ValidationResult vr = super.initialize(runtimeContainer, properties);
if (!ValidationResult.OK.getStatus().equals(vr.getStatus())) {
return vr;
}
this.dieOnError = ((TAzureStorageQueueDeleteProperties) properties).dieOnError.getValue();
queueService = new AzureStorageQueueService(getAzureConnection(runtimeContainer));
return ValidationResult.OK;
}
use of org.talend.components.azurestorage.queue.AzureStorageQueueService in project components by Talend.
the class AzureStorageQueuePurgeRuntime method initialize.
@Override
public ValidationResult initialize(RuntimeContainer runtimeContainer, ComponentProperties properties) {
ValidationResult vr = super.initialize(runtimeContainer, properties);
if (!ValidationResult.OK.getStatus().equals(vr.getStatus())) {
return vr;
}
this.dieOnError = ((TAzureStorageQueuePurgeProperties) properties).dieOnError.getValue();
this.queueService = new AzureStorageQueueService(getAzureConnection(runtimeContainer));
return ValidationResult.OK;
}
use of org.talend.components.azurestorage.queue.AzureStorageQueueService in project components by Talend.
the class AzureStorageQueueCreateRuntime method initialize.
@Override
public ValidationResult initialize(RuntimeContainer runtimeContainer, ComponentProperties properties) {
ValidationResult vr = super.initialize(runtimeContainer, properties);
if (!ValidationResult.OK.getStatus().equals(vr.getStatus())) {
return vr;
}
this.dieOnError = ((TAzureStorageQueueCreateProperties) properties).dieOnError.getValue();
this.queueService = new AzureStorageQueueService(getAzureConnection(runtimeContainer));
return ValidationResult.OK;
}
Aggregations