public class Scanner<T extends Scanner<T>> extends Object
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
Boolean |
autoDeployExploded()
Allows the automatic deployment of exploded content without requiring a
.dodeploy marker file.
|
T |
autoDeployExploded(Boolean value)
Allows the automatic deployment of exploded content without requiring a
.dodeploy marker file.
|
Boolean |
autoDeployXml()
Allows automatic deployment of XML content without requiring a .dodeploy
marker file.
|
T |
autoDeployXml(Boolean value)
Allows automatic deployment of XML content without requiring a .dodeploy
marker file.
|
Boolean |
autoDeployZipped()
Allows automatic deployment of zipped content without requiring a
.dodeploy marker file.
|
T |
autoDeployZipped(Boolean value)
Allows automatic deployment of zipped content without requiring a
.dodeploy marker file.
|
Long |
deploymentTimeout()
The time value in seconds for the deployment scanner to allow a
deployment attempt before being cancelled.
|
T |
deploymentTimeout(Long value)
The time value in seconds for the deployment scanner to allow a
deployment attempt before being cancelled.
|
String |
getKey() |
String |
path()
The actual filesystem path to be scanned.
|
T |
path(String value)
The actual filesystem path to be scanned.
|
String |
relativeTo()
Reference to a filesystem path defined in the "paths" section of the
server configuration.
|
T |
relativeTo(String value)
Reference to a filesystem path defined in the "paths" section of the
server configuration.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Boolean |
runtimeFailureCausesRollback()
Flag indicating 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.
|
T |
runtimeFailureCausesRollback(Boolean value)
Flag indicating 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.
|
Boolean |
scanEnabled()
Flag indicating if all scanning (including initial scanning at startup)
is enabled.
|
T |
scanEnabled(Boolean value)
Flag indicating if all scanning (including initial scanning at startup)
is enabled.
|
Integer |
scanInterval()
Periodic interval, in milliseconds, at which the repository should be
scanned for changes.
|
T |
scanInterval(Integer value)
Periodic interval, in milliseconds, at which the repository should be
scanned for changes.
|
public Scanner(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Boolean autoDeployExploded()
public T autoDeployExploded(Boolean value)
public Boolean autoDeployXml()
public T autoDeployXml(Boolean value)
public Boolean autoDeployZipped()
public T autoDeployZipped(Boolean value)
public Long deploymentTimeout()
public T deploymentTimeout(Long value)
public String path()
public T path(String value)
public String relativeTo()
public T relativeTo(String value)
public Boolean runtimeFailureCausesRollback()
public T runtimeFailureCausesRollback(Boolean value)
public Boolean scanEnabled()
public T scanEnabled(Boolean value)
public Integer scanInterval()
Copyright © 2020 JBoss by Red Hat. All rights reserved.