bbende commented on a change in pull request #5612:
URL: https://github.com/apache/nifi/pull/5612#discussion_r771750038
##########
File path:
c2/c2-protocol/c2-protocol-component-api/src/main/java/org/apache/nifi/c2/protocol/component/api/ProcessorDefinition.java
##########
@@ -85,4 +102,130 @@ public boolean getSupportsDynamicRelationships() {
public void setSupportsDynamicRelationships(boolean
supportsDynamicRelationships) {
this.supportsDynamicRelationships = supportsDynamicRelationships;
}
+
+ @ApiModelProperty("Whether or not this processor should be triggered
serially")
+ public boolean getTriggerSerially() {
+ return triggerSerially;
+ }
+
+ public void setTriggerSerially(boolean triggerSerially) {
+ this.triggerSerially = triggerSerially;
+ }
+
+ @ApiModelProperty("Whether or not this processor should be triggered when
incoming queues are empty")
+ public boolean getTriggerWhenEmpty() {
+ return triggerWhenEmpty;
+ }
+
+ public void setTriggerWhenEmpty(boolean triggerWhenEmpty) {
+ this.triggerWhenEmpty = triggerWhenEmpty;
+ }
+
+ @ApiModelProperty("Whether or not this processor should be triggered when
any destination queue has room")
+ public boolean getTriggerWhenAnyDestinationAvailable() {
+ return triggerWhenAnyDestinationAvailable;
+ }
+
+ public void setTriggerWhenAnyDestinationAvailable(boolean
triggerWhenAnyDestinationAvailable) {
+ this.triggerWhenAnyDestinationAvailable =
triggerWhenAnyDestinationAvailable;
+ }
+
+ @ApiModelProperty("Whether or not this processor supports batching")
+ public boolean getSupportsBatching() {
+ return supportsBatching;
+ }
+
+ public void setSupportsBatching(boolean supportsBatching) {
+ this.supportsBatching = supportsBatching;
+ }
+
+ @ApiModelProperty("Whether or not this processor supports event driven
scheduling")
+ public boolean getSupportsEventDriven() {
+ return supportsEventDriven;
+ }
+
+ public void setSupportsEventDriven(boolean supportsEventDriven) {
+ this.supportsEventDriven = supportsEventDriven;
+ }
+
+ @ApiModelProperty("Whether or not this processor should be scheduled only
on the primary node in a cluster")
+ public boolean getPrimaryNodeOnly() {
+ return primaryNodeOnly;
+ }
+
+ public void setPrimaryNodeOnly(boolean primaryNodeOnly) {
+ this.primaryNodeOnly = primaryNodeOnly;
+ }
+
+ @ApiModelProperty("Whether or not this processor is considered side-effect
free")
Review comment:
Sure I can elaborate on the docs for all the new fields.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]