@Test public void checkThrowsWithoutAdmin() { _thrown.expect(IllegalArgumentException.class); StaticRoute.builder().setNetwork(Prefix.ZERO).build(); }
public static Builder builder() { return new Builder(); }
StaticRoute extends AbstractRoute implements Comparable<StaticRoute> { public static Builder builder() { return new Builder(); } }
StaticRoute extends AbstractRoute implements Comparable<StaticRoute> { public static Builder builder() { return new Builder(); } private  StaticRoute(
      @Nonnull Prefix network,
      @Nullable Ip nextHopIp,
      @Nullable String nextHopInterface,
      @Nullable String nextVrf,
      int administrativeCost,
      long metric,
      long tag,
      boolean nonForwarding,
      boolean nonRouting); }
StaticRoute extends AbstractRoute implements Comparable<StaticRoute> { public static Builder builder() { return new Builder(); } private  StaticRoute(
      @Nonnull Prefix network,
      @Nullable Ip nextHopIp,
      @Nullable String nextHopInterface,
      @Nullable String nextVrf,
      int administrativeCost,
      long metric,
      long tag,
      boolean nonForwarding,
      boolean nonRouting); @Override @JsonIgnore(false) @JsonProperty(PROP_METRIC) Long getMetric(); @Nonnull @Override @JsonIgnore(false) @JsonProperty(PROP_NEXT_HOP_INTERFACE) String getNextHopInterface(); @Nonnull @JsonIgnore(false) @JsonProperty(PROP_NEXT_HOP_IP) @Override Ip getNextHopIp(); @Nullable @JsonProperty(PROP_NEXT_VRF) String getNextVrf(); @Override RoutingProtocol getProtocol(); static Builder builder(); @Override int compareTo(StaticRoute o); @Override Builder toBuilder(); @Override boolean equals(@Nullable Object o); @Override int hashCode(); }
StaticRoute extends AbstractRoute implements Comparable<StaticRoute> { public static Builder builder() { return new Builder(); } private  StaticRoute(
      @Nonnull Prefix network,
      @Nullable Ip nextHopIp,
      @Nullable String nextHopInterface,
      @Nullable String nextVrf,
      int administrativeCost,
      long metric,
      long tag,
      boolean nonForwarding,
      boolean nonRouting); @Override @JsonIgnore(false) @JsonProperty(PROP_METRIC) Long getMetric(); @Nonnull @Override @JsonIgnore(false) @JsonProperty(PROP_NEXT_HOP_INTERFACE) String getNextHopInterface(); @Nonnull @JsonIgnore(false) @JsonProperty(PROP_NEXT_HOP_IP) @Override Ip getNextHopIp(); @Nullable @JsonProperty(PROP_NEXT_VRF) String getNextVrf(); @Override RoutingProtocol getProtocol(); static Builder builder(); @Override int compareTo(StaticRoute o); @Override Builder toBuilder(); @Override boolean equals(@Nullable Object o); @Override int hashCode();  }