@Override public PropertyDescriptor getSupportedDynamicPropertyDescriptor(String propertyDescriptorName) { if (propertyDescriptorName.startsWith(PATTERN_PROPERTY_PREFIX)) { return new PropertyDescriptor .Builder().name(propertyDescriptorName) .description(PATTERN_PROPERTY_PREFIX_DESC) .addValidator(StandardValidators.NON_EMPTY_VALIDATOR) .expressionLanguageSupported(ExpressionLanguageScope.VARIABLE_REGISTRY) .dynamic(true) .sensitive(false) .build(); } return null; }
@Override protected PropertyDescriptor getSupportedDynamicPropertyDescriptor( String propertyDescriptorName) { if (propertyDescriptorName.startsWith(DYNAMIC_PROP_BUCKET_PASSWORD)) { return new PropertyDescriptor .Builder().name(propertyDescriptorName) .description("Bucket password.") .addValidator(StandardValidators.NON_EMPTY_VALIDATOR) .dynamic(true) .sensitive(true) .expressionLanguageSupported(ExpressionLanguageScope.VARIABLE_REGISTRY) .build(); } return null; }
.name("Password") .description("Password to use when connecting to the broker") .sensitive(true) .required(false) .addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
@Override public PropertyDescriptor getSupportedDynamicPropertyDescriptor(String propertyDescriptorName) { if (propertyDescriptorName.startsWith(PATTERN_PROPERTY_PREFIX)) { return new PropertyDescriptor .Builder().name(propertyDescriptorName) .description(PATTERN_PROPERTY_PREFIX_DESC) .addValidator(StandardValidators.NON_EMPTY_VALIDATOR) .expressionLanguageSupported(ExpressionLanguageScope.VARIABLE_REGISTRY) .dynamic(true) .sensitive(false) .build(); } return null; }
private PropertyDescriptor buildDescriptor(final String propertyName) { return new PropertyDescriptor.Builder() .name(propertyName) .description(propertyName) .required(true) .sensitive(true) .build(); }
private PropertyDescriptor buildDescriptor(final String propertyName) { return new PropertyDescriptor.Builder() .name(propertyName) .description(propertyName) .required(true) .sensitive(true) .build(); }
@Override public PropertyDescriptor getPropertyDescriptor(final String propertyName) { return new PropertyDescriptor.Builder() .name(propertyName) .description(propertyName) .required(true) .sensitive(true) .build(); }