use of org.talend.components.marklogic.MarkLogicProvideConnectionProperties in project components by Talend.
the class MarkLogicSourceOrSink method initialize.
@Override
public ValidationResult initialize(RuntimeContainer container, ComponentProperties properties) {
ValidationResultMutable vr = new ValidationResultMutable();
if (properties instanceof MarkLogicProvideConnectionProperties) {
this.ioProperties = (MarkLogicProvideConnectionProperties) properties;
} else {
vr.setStatus(ValidationResult.Result.ERROR);
vr.setMessage(MESSAGES.getMessage("error.wrongProperties"));
}
return vr;
}
Aggregations