@JsonProperty
private Part trigger;
+ /** A combination of query, filters, and a trigger. */
+ @JsonProperty
+ private Part watcher;
+
/** The action of the chain. */
@JsonProperty
private Part action;
}
/**
+ * Returns an optional watcher.
+ *
+ * @return The watcher of this chain
+ */
+ public Part watcher() {
+ return watcher;
+ }
+
+ /**
* Returns the action of this chain.
*
* @return The action of this chain