コード例 #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));
 }