Exemplo n.º 1
0
 /**
  * Creates a {@link JcloudsContainerBuilder}.
  *
  * @return
  */
 public static JcloudsContainerBuilder jclouds() {
   return new JcloudsContainerBuilder(CreateContainerOptionsBuilder.jclouds());
 }
Exemplo n.º 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));
 }
Exemplo n.º 3
0
 /**
  * Creates a {@link SshContainerBuilder}.
  *
  * @return
  */
 public static SshContainerBuilder ssh() {
   return new SshContainerBuilder(CreateContainerOptionsBuilder.ssh());
 }
Exemplo n.º 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));
 }
Exemplo n.º 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));
 }