## Uses of Class
org.wildfly.swarm.Swarm

- Packages that use Swarm
  Package | Description
  --- | ---
  org.wildfly.swarm |
  org.wildfly.swarm.cli |

- - ### Uses of Swarm in org.wildfly.swarm

    Fields in org.wildfly.swarm declared as Swarm
    Modifier and Type | Field and Description
    --- | ---
    `static Swarm` | Swarm.`INSTANCE`

    Methods in org.wildfly.swarm that return Swarm
    Modifier and Type | Method and Description
    --- | ---
    `Swarm` | Swarm.`component(Class<?> cls)`
    `Swarm` | Swarm.`deploy()` Perform a default deployment.
    `Swarm` | Swarm.`deploy(<any> deployment)` Deploy an archive.
    `Swarm` | Swarm.`fraction(Fraction fraction)` Add a fraction to the container.
    `Swarm` | Swarm.`outboundSocketBinding(String socketBindingGroup, OutboundSocketBinding binding)` Add an outbound socket-binding to the container.
    `Swarm` | Swarm.`socketBinding(String socketBindingGroup, SocketBinding binding)` Add an inbound socket-binding to the container.
    `Swarm` | Swarm.`start()` Start the container.
    `Swarm` | Swarm.`start(<any> deployment)` Start the container with a deployment.
    `Swarm` | Swarm.`stop()` Stop the container, first undeploying all deployments.
    `Swarm` | Swarm.`withConfig(URL url)`
    `Swarm` | Swarm.`withProfile(String name)`
    `Swarm` | Swarm.`withProperty(String name, String value)`
    `Swarm` | Swarm.`withXmlConfig(URL url)` Specify an XML configuration file (in usual WildFly `standalone.xml`) format.

  - ### Uses of Swarm in org.wildfly.swarm.cli

    Methods in org.wildfly.swarm.cli with parameters of type Swarm
    Modifier and Type | Method and Description
    --- | ---
    `void` | CommandLine.`apply(Swarm swarm)` Apply properties and configuration from the parsed commandline to a container.
    `void` | CommandLine.`applyConfigurations(Swarm swarm)` Apply configuration to the container.
    `void` | CommandLine.`applyProperties(Swarm swarm)` Apply properties to the system properties.

Copyright © 2017 JBoss by Red Hat. All rights reserved.