예제 #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));
 }