Examples of asType()


Examples of org.jboss.dmr.ModelNode.asType()

            }
        }

        if (valueTypeNode != null) {
            try {
                valueTypeNode.asType();
            } catch (Exception e) {
                //Complex type

                Set<String> keys;
                try {
View Full Code Here

Examples of org.jboss.dmr.ModelNode.asType()

            }
        }

        if (valueTypeNode != null) {
            try {
                valueTypeNode.asType();
            } catch (Exception e) {
                //Complex type

                Set<String> keys;
                try {
View Full Code Here

Examples of org.jclouds.aws.ec2.options.AWSRunInstancesOptions.asType()

         options.withBlockDeviceMappings(launchSpec.getBlockDeviceMappings());
      if (launchSpec.getSecurityGroupNames().size() > 0)
         options.withSecurityGroups(launchSpec.getSecurityGroupNames());
      if (launchSpec.getSecurityGroupIds().size() > 0)
         options.withSecurityGroupIds(launchSpec.getSecurityGroupIds());
      options.asType(checkNotNull(launchSpec.getInstanceType(), "instanceType"));
      if (launchSpec.getSubnetId() != null){
         if (Boolean.TRUE.equals(launchSpec.isPublicIpAddressAssociated()))  {
            options.associatePublicIpAddressAndSubnetId(launchSpec.getSubnetId());
            if (launchSpec.getSecurityGroupIds().size() > 0){
                options.withSecurityGroupIdsForNetworkInterface(launchSpec.getSecurityGroupIds());
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.