示例#1
0
 /**
  * Creates a {@link JcloudsContainerBuilder}.
  *
  * @return
  */
 public static JcloudsContainerBuilder jclouds() {
   return new JcloudsContainerBuilder(CreateContainerOptionsBuilder.jclouds());
 }
示例#2
0
 /**
  * Creates a {@link ChildContainerBuilder}.
  *
  * @param numberOfContainers The number of {@link Container}s that the builder will create.
  * @return
  */
 public static ChildContainerBuilder child(int numberOfContainers) {
   return new ChildContainerBuilder(
       CreateContainerOptionsBuilder.child().number(numberOfContainers));
 }
示例#3
0
 /**
  * Creates a {@link SshContainerBuilder}.
  *
  * @return
  */
 public static SshContainerBuilder ssh() {
   return new SshContainerBuilder(CreateContainerOptionsBuilder.ssh());
 }
示例#4
0
 /**
  * Creates an {@link SshContainerBuilder}.
  *
  * @param numberOfContainers The number of contaienrs the builder will create.
  * @return
  */
 public static SshContainerBuilder ssh(int numberOfContainers) {
   return new SshContainerBuilder(CreateContainerOptionsBuilder.ssh().number(1));
 }
示例#5
0
 /**
  * Creates a {@link JcloudsContainerBuilder}
  *
  * @param numberOfContainers The number of {@link Container}s the builder will create.
  * @return
  */
 public static JcloudsContainerBuilder jclouds(int numberOfContainers) {
   return new JcloudsContainerBuilder(
       CreateContainerOptionsBuilder.jclouds().number(numberOfContainers));
 }