org.wildfly.extras.creaper.commands.deployments
Class Deploy.Builder

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.deployments.Deploy.Builder
Enclosing class:
Deploy

public static final class Deploy.Builder
extends Object

Builder for creating command for deploying deployment to the server.


Constructor Summary
Deploy.Builder(File deploymentFile)
           
Deploy.Builder(InputStream deploymentInputStream, String deploymentName, boolean autoCloseInputStream)
           
 
Method Summary
 Deploy build()
           
 Deploy.Builder toAllServerGroups()
          Domain mode only Specifies that the deployment should be deployed to all server groups Note you should use either toAllServerGroup or toServerGroups, not both.
 Deploy.Builder toServerGroups(String... serverGroups)
          Domain mode only Adds list of server groups for which the deployment should be applied.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Deploy.Builder

public Deploy.Builder(File deploymentFile)

Deploy.Builder

public Deploy.Builder(InputStream deploymentInputStream,
                      String deploymentName,
                      boolean autoCloseInputStream)
Method Detail

build

public Deploy build()

toServerGroups

public Deploy.Builder toServerGroups(String... serverGroups)

Domain mode only

Adds list of server groups for which the deployment should be applied.

Note you should use either toAllServerGroup or toServerGroups, not both.


toAllServerGroups

public Deploy.Builder toAllServerGroups()

Domain mode only

Specifies that the deployment should be deployed to all server groups

Note you should use either toAllServerGroup or toServerGroups, not both.



Copyright © 2016. All rights reserved.