public interface DeploymentOperations extends Closeable
Modifier and Type | Interface and Description |
---|---|
static interface |
DeploymentOperations.Factory
Factory for creating a
DeploymentOperations instance. |
Modifier and Type | Method and Description |
---|---|
Future<org.jboss.dmr.ModelNode> |
deploy(org.jboss.dmr.ModelNode operation,
ExecutorService executorService)
Execute an operation to bring the server deployment model in sync with the current
scanned directory content.
|
Map<String,Boolean> |
getDeploymentsStatus()
Gets the enabled status of the deployments currently in the configuration model.
|
Set<String> |
getUnrelatedDeployments(org.jboss.dmr.ModelNode owner)
Gets the names of deployments currently in the configuration model that are not owned by
owner |
Future<org.jboss.dmr.ModelNode> deploy(org.jboss.dmr.ModelNode operation, ExecutorService executorService)
operation
- the operation to execute. Cannot be null
executorService
- executor that can be used to asynchronously execute the operation if the implementing
class does not wish to use its own executorMap<String,Boolean> getDeploymentsStatus()
true
if the deployment is enabled.
Map will not be null
Set<String> getUnrelatedDeployments(org.jboss.dmr.ModelNode owner)
owner
owner
- node of type LIST with elements of type PROPERTY whose data represents the address of the
management resource associated with the caller. Cannot be null
or an empty listnull
Copyright © 2023 JBoss by Red Hat. All rights reserved.