Examples of RouteOptions


Examples of com.lbslocal.cc.objects.v3.route.RouteOptions

        routeOptionsDependencyObjects[6] = cr.new ObjectsHelper();
        routeOptionsDependencyObjects[6].object = new String[0];
        routeOptionsDependencyObjects[6].alias = "poiRoute";
       
        RouteStop[] rs = (RouteStop[]) cr.getObjectFromXML(ph.XMLFile, "rs", RouteStop.class, routeStopDependencyObjects);
        RouteOptions ro = (RouteOptions) cr.getObjectFromXML(ph.XMLFile, "ro", RouteOptions.class, routeOptionsDependencyObjects);
       
        try
        {
          ri = cRoute.getRoute(rs, ro, id_licenca);
          if (fullCoords.equals("true")){
View Full Code Here

Examples of org.jclouds.googlecomputeengine.options.RouteOptions

   /**
    * {@inheritDoc}
    */
   @Override
   public <R extends HttpRequest> R bindToRequest(R request, Map<String, Object> postParams) {
      RouteOptions options = (RouteOptions) checkNotNull(postParams.get("options"), "routeOptions");
      String name = (String) checkNotNull(postParams.get("name"), "name");
      URI network = (URI) checkNotNull(postParams.get("network"), "network");
      options.name(name);
      options.network(network);
      return bindToRequest(request, options);
   }
View Full Code Here

Examples of org.jclouds.googlecomputeengine.options.RouteOptions

   public void testInsertRoute() {
      assertGlobalOperationDoneSucessfully(api.getNetworkApiForProject(userProject.get()).createInIPv4Range
              (ROUTE_NETWORK_NAME, IPV4_RANGE), TIME_WAIT);
      assertGlobalOperationDoneSucessfully(api().createInNetwork(ROUTE_NAME,
              getNetworkUrl(userProject.get(), ROUTE_NETWORK_NAME),
              new RouteOptions().addTag("footag")
                      .addTag("bartag")
                      .description("RouteApi Live Test")
                      .destRange(DEST_RANGE)
                      .priority(1000)
                      .nextHopGateway(getGatewayUrl(userProject.get(), DEFAULT_GATEWAY_NAME))),
View Full Code Here

Examples of org.jclouds.googlecomputeengine.options.RouteOptions

              TOKEN_RESPONSE, insert,
              insertRouteResponse).getRouteApiForProject("myproject");

      assertEquals(api.createInNetwork("default-route-c99ebfbed0e1f375",
              URI.create("https://www.googleapis.com/compute/v1/projects/myproject/global/networks/default"),
              new RouteOptions().addTag("fooTag")
                      .addTag("barTag")
                      .description("Default route to the virtual network.")
              .destRange("10.240.0.0/16")
              .priority(1000)
              .nextHopNetwork(URI.create("https://www.googleapis.com/compute/v1/projects/myproject/global/networks/default"))
View Full Code Here

Examples of org.jclouds.googlecomputeengine.options.RouteOptions

   public void testInsertRoute() {
      assertGlobalOperationDoneSucessfully(api.getNetworkApiForProject(userProject.get()).createInIPv4Range
              (ROUTE_NETWORK_NAME, IPV4_RANGE), TIME_WAIT);
      assertGlobalOperationDoneSucessfully(api().createInNetwork(ROUTE_NAME,
              getNetworkUrl(userProject.get(), ROUTE_NETWORK_NAME),
              new RouteOptions().addTag("footag")
                      .addTag("bartag")
                      .description("RouteApi Live Test")
                      .destRange(DEST_RANGE)
                      .priority(1000)
                      .nextHopGateway(getGatewayUrl(userProject.get(), DEFAULT_GATEWAY_NAME))),
View Full Code Here

Examples of org.jclouds.googlecomputeengine.options.RouteOptions

              TOKEN_RESPONSE, insert,
              insertRouteResponse).getRouteApiForProject("myproject");

      assertEquals(api.createInNetwork("default-route-c99ebfbed0e1f375",
              URI.create("https://www.googleapis.com/compute/v1/projects/myproject/global/networks/default"),
              new RouteOptions().addTag("fooTag")
                      .addTag("barTag")
                      .description("Default route to the virtual network.")
              .destRange("10.240.0.0/16")
              .priority(1000)
              .nextHopNetwork(URI.create("https://www.googleapis.com/compute/v1/projects/myproject/global/networks/default"))
View Full Code Here

Examples of org.jclouds.googlecomputeengine.options.RouteOptions

   /**
    * {@inheritDoc}
    */
   @Override
   public <R extends HttpRequest> R bindToRequest(R request, Map<String, Object> postParams) {
      RouteOptions options = (RouteOptions) checkNotNull(postParams.get("options"), "routeOptions");
      String name = (String) checkNotNull(postParams.get("name"), "name");
      URI network = (URI) checkNotNull(postParams.get("network"), "network");
      options.name(name);
      options.network(network);
      return bindToRequest(request, options);
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.