@Override
    public boolean matches(HopDirective dir) {
        return dir instanceof RouteDirective && name.equals(((RouteDirective)dir).name);
    }
Constructs a new directive to insert a route.

@param name The name of the route to insert.
messagebus/src/main/java/com/yahoo/messagebus/routing/RouteDirective.java