Package com.yahoo.messagebus.routing
Interface HopDirective
- All Known Implementing Classes:
ErrorDirective,PolicyDirective,RouteDirective,TcpDirective,VerbatimDirective
public interface HopDirective
This class is the base class for the primitives that make up a
Hop's selector.- Author:
- Simon Thoresen Hult
-
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(HopDirective dir) Returns true if this directive matches another.Returns a string representation of this that can be debugged but not parsed.
-
Method Details
-
matches
Returns true if this directive matches another.- Parameters:
dir- The directive to compare this to.- Returns:
- True if this matches the argument.
-
toDebugString
String toDebugString()Returns a string representation of this that can be debugged but not parsed.- Returns:
- The debug string.
-