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 aHop
's selector.- Author:
- Simon Thoresen Hult
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
matches(HopDirective dir)
Returns true if this directive matches another.java.lang.String
toDebugString()
Returns a string representation of this that can be debugged but not parsed.
-
-
-
Method Detail
-
matches
boolean matches(HopDirective dir)
Returns true if this directive matches another.- Parameters:
dir
- The directive to compare this to.- Returns:
- True if this matches the argument.
-
toDebugString
java.lang.String toDebugString()
Returns a string representation of this that can be debugged but not parsed.- Returns:
- The debug string.
-
-