public interface DeploymentScanner
| Modifier and Type | Field and Description |
|---|---|
static org.jboss.msc.service.ServiceName |
BASE_SERVICE_NAME |
| Modifier and Type | Method and Description |
|---|---|
long |
getScanInterval()
Get the current scan interval
|
boolean |
isAutoDeployExplodedContent()
Gets whether the scanner will attempt to deploy exploded content based solely
on detecting a change in the content; i.e.
|
boolean |
isAutoDeployXMLContent()
Gets whether the scanner will attempt to deploy XML content based solely
on detecting a change in the content; i.e.
|
boolean |
isAutoDeployZippedContent()
Gets whether the scanner will attempt to deploy zipped content based solely
on detecting a change in the content; i.e.
|
boolean |
isEnabled()
Check whether the scanner is enabled.
|
void |
setAutoDeployExplodedContent(boolean autoDeployExploded)
Sets whether the scanner will attempt to deploy exploded content based solely
on detecting a change in the content; i.e.
|
void |
setAutoDeployXMLContent(boolean autoDeployXML)
Sets whether the scanner will attempt to deploy XML content based solely
on detecting a change in the content; i.e.
|
void |
setAutoDeployZippedContent(boolean autoDeployZip)
Sets whether the scanner will attempt to deploy zipped content based solely
on detecting a change in the content; i.e.
|
void |
setDeploymentTimeout(long timeout)
Set the timeout used for deployments.
|
void |
setRuntimeFailureCausesRollback(boolean rollback)
Sets whether a runtime failure of a deployment causes a rollback of the deployment as well as all other (maybe
unrelated) deployments as part of the scan operation.
|
void |
setScanInterval(long scanInterval)
Set the scan interval.
|
void |
startScanner()
Start the scanner, if not already started, using a default
DeploymentOperations. |
void |
startScanner(DeploymentOperations deploymentOperations)
Start the scanner, if not already started.
|
void |
stopScanner()
Stop the scanner, if not already stopped.
|
boolean isEnabled()
long getScanInterval()
void setScanInterval(long scanInterval)
scanInterval - the scan interval in msvoid startScanner()
DeploymentOperations.startScanner(DeploymentOperations)void startScanner(DeploymentOperations deploymentOperations)
void stopScanner()
boolean isAutoDeployZippedContent()
void setAutoDeployZippedContent(boolean autoDeployZip)
boolean isAutoDeployExplodedContent()
void setAutoDeployExplodedContent(boolean autoDeployExploded)
boolean isAutoDeployXMLContent()
void setAutoDeployXMLContent(boolean autoDeployXML)
void setDeploymentTimeout(long timeout)
timeout - The deployment timeoutvoid setRuntimeFailureCausesRollback(boolean rollback)
rollback - true if runtime failures should trigger a rollbackCopyright © 2016 JBoss by Red Hat. All rights reserved.