Class SubscriptionSpecRoutesRules

  • All Implemented Interfaces:
    com.marcnuri.yakc.model.Model

    public class SubscriptionSpecRoutesRules
    extends java.lang.Object
    implements com.marcnuri.yakc.model.Model
    Rule is used to specify the condition for sending a message to a specific path.
    • Constructor Detail

      • SubscriptionSpecRoutesRules

        public SubscriptionSpecRoutesRules​(@NonNull
                                           @NonNull java.lang.String match,
                                           @NonNull
                                           @NonNull java.lang.String path)
      • SubscriptionSpecRoutesRules

        public SubscriptionSpecRoutesRules()
    • Method Detail

      • getMatch

        @NonNull
        public @NonNull java.lang.String getMatch()
        The optional CEL expression used to match the event. If the match is not specified, then the route is considered the default. The rules are tested in the order specified, so they should be define from most-to-least specific. The default route should appear last in the list.
      • getPath

        @NonNull
        public @NonNull java.lang.String getPath()
        The path for events that match this rule.
      • setMatch

        public void setMatch​(@NonNull
                             @NonNull java.lang.String match)
        The optional CEL expression used to match the event. If the match is not specified, then the route is considered the default. The rules are tested in the order specified, so they should be define from most-to-least specific. The default route should appear last in the list.
      • setPath

        public void setPath​(@NonNull
                            @NonNull java.lang.String path)
        The path for events that match this rule.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object