NIFI-460 deprecating StandardValidators.createControllerServiceExistsValidator

This commit is contained in:
danbress 2015-03-24 14:18:56 -04:00
parent 06ee1291c2
commit a5e140f107
1 changed files with 8 additions and 0 deletions

View File

@ -615,6 +615,14 @@ public class StandardValidators {
}
}
/**
* Creates a validator based on existence of a {@link ControllerService}.
*
* @param serviceClass the controller service API your {@link ConfigurableComponent} depends on
* @return a Validator
* @deprecated As of release 0.1.0-incubating, replaced by {@link org.apache.nifi.components.PropertyDescriptor.Builder#identifiesControllerService(Class)}
*/
@Deprecated
public static Validator createControllerServiceExistsValidator(final Class<? extends ControllerService> serviceClass) {
return new Validator() {
@Override