mirror of
https://github.com/apache/nifi.git
synced 2025-02-17 23:47:08 +00:00
Remove getSupportedDynamicPropertyDescriptor
This commit is contained in:
parent
7e6834937b
commit
6cbc6db860
@ -60,15 +60,6 @@ public class DeleteS3Object extends AbstractS3Processor {
|
|||||||
return properties;
|
return properties;
|
||||||
}
|
}
|
||||||
|
|
||||||
protected PropertyDescriptor getSupportedDynamicPropertyDescriptor(final String propertyDescriptorName) {
|
|
||||||
return new PropertyDescriptor.Builder()
|
|
||||||
.name(propertyDescriptorName)
|
|
||||||
.addValidator(StandardValidators.NON_EMPTY_VALIDATOR)
|
|
||||||
.expressionLanguageSupported(true)
|
|
||||||
.dynamic(true)
|
|
||||||
.build();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void onTrigger(final ProcessContext context, final ProcessSession session) {
|
public void onTrigger(final ProcessContext context, final ProcessSession session) {
|
||||||
FlowFile flowFile = session.get();
|
FlowFile flowFile = session.get();
|
||||||
if (flowFile == null) {
|
if (flowFile == null) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user