Package org.jclouds.chef.options

Examples of org.jclouds.chef.options.CreateClientOptions


            "this binder is only valid for GeneratedHttpRequests");
      GeneratedHttpRequest gRequest = (GeneratedHttpRequest) request;
      checkState(gRequest.getInvocation().getArgs() != null, "args should be initialized at this point");

      String name = checkNotNull(postParams.remove("name"), "name").toString();
      CreateClientOptions options = (CreateClientOptions) Iterables.find(gRequest.getInvocation().getArgs(),
            Predicates.instanceOf(CreateClientOptions.class));

      return bindToRequest(request, new CreateClientParams(name, options));
   }
View Full Code Here


            "this binder is only valid for GeneratedHttpRequests");
      GeneratedHttpRequest gRequest = (GeneratedHttpRequest) request;
      checkState(gRequest.getInvocation().getArgs() != null, "args should be initialized at this point");

      String name = checkNotNull(postParams.remove("name"), "name").toString();
      CreateClientOptions options = (CreateClientOptions) Iterables.find(gRequest.getInvocation().getArgs(),
            Predicates.instanceOf(CreateClientOptions.class));

      return bindToRequest(request, new CreateClientParams(name, options));
   }
View Full Code Here

TOP

Related Classes of org.jclouds.chef.options.CreateClientOptions

Copyright © 2018 www.massapicom. 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.