## Uses of Class
org.wildfly.plugin.core.Deployment

- - ### Uses of Deployment in org.wildfly.plugin.core

    Methods in org.wildfly.plugin.core that return Deployment
    Modifier and Type | Method and Description
    --- | ---
    `Deployment` | Deployment.`addServerGroup(String serverGroup)` Adds a server group for the deployment.
    `Deployment` | Deployment.`addServerGroups(Collection<String> serverGroups)` Adds the server groups for the deployment.
    `Deployment` | Deployment.`addServerGroups(String... serverGroups)` Adds the server groups for the deployment.
    `static Deployment` | Deployment.`of(File content)` Creates a new deployment for the file.
    `static Deployment` | Deployment.`of(InputStream content, String name)` Creates a new deployment for the input stream.
    `static Deployment` | Deployment.`of(Path content)` Creates a new deployment for the path.
    `static Deployment` | Deployment.`of(URL url)` Creates a new deployment for the URL.
    `Deployment` | Deployment.`setEnabled(boolean enabled)` Sets whether or not the deployment should be enabled.
    `Deployment` | Deployment.`setName(String name)` Sets the name for the deployment.
    `Deployment` | Deployment.`setRuntimeName(String runtimeName)` Sets the runtime name for the deployment.
    `Deployment` | Deployment.`setServerGroups(Collection<String> serverGroups)` Sets the server groups for the deployment.
    `Deployment` | Deployment.`setServerGroups(String... serverGroups)` Sets the server groups for the deployment.

    Methods in org.wildfly.plugin.core with parameters of type Deployment
    Modifier and Type | Method and Description
    --- | ---
    `int` | Deployment.`compareTo(Deployment o)`
    `static org.jboss.as.controller.client.Operation` | DeploymentOperations.`createAddDeploymentOperation(Deployment deployment)` Creates an operation to add deployment content to a running server.
    `static org.jboss.as.controller.client.Operation` | DeploymentOperations.`createReplaceOperation(Deployment deployment)` Creates an operation to replace deployment content to a running server.
    `DeploymentResult` | DeploymentManager.`deploy(Deployment deployment)` Deploys the content to the server.
    `DeploymentResult` | DeploymentManager.`forceDeploy(Deployment deployment)` Deploys the content to the server if it does not already exist on the server.
    `DeploymentResult` | DeploymentManager.`redeploy(Deployment deployment)` Redeploys the content to the server.

    Method parameters in org.wildfly.plugin.core with type arguments of type Deployment
    Modifier and Type | Method and Description
    --- | ---
    `static org.jboss.as.controller.client.Operation` | DeploymentOperations.`createAddDeploymentOperation(Set<Deployment> deployments)` Creates an operation to add deployment content to a running server for each deployment.
    `static org.jboss.as.controller.client.Operation` | DeploymentOperations.`createReplaceOperation(Set<Deployment> deployments)` Creates an operation to replace deployment content to a running server.
    `DeploymentResult` | DeploymentManager.`deploy(Set<Deployment> deployments)` Deploys the content of each deployment to the server.
    `DeploymentResult` | DeploymentManager.`forceDeploy(Set<Deployment> deployments)` Deploys the content to the server if it does not already exist on the server.
    `DeploymentResult` | DeploymentManager.`redeploy(Set<Deployment> deployments)` Redeploys the content to the server.

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