@MessageBundle(projectCode="JBAS")
public interface DeploymentScannerMessages
| Modifier and Type | Field and Description |
|---|---|
static DeploymentScannerMessages |
MESSAGES
The messages
|
| Modifier and Type | Method and Description |
|---|---|
RuntimeException |
cannotListDirectoryFiles(File directory) |
String |
cannotRemoveSubsystem()
A message indicating the subsystem cannot be removed while there are still scanners configured.
|
String |
deploymentContentIncomplete(File file,
String suffix)
A message indicating the deployment content, represented by the
file parameter, appears to be incomplete
and is not progressing toward completion. |
IllegalStateException |
deploymentScannerNotForDomainMode() |
String |
deploymentTimeout(long timeout)
A message indicating the deployment operation was not received with the timeout period.
|
IllegalArgumentException |
directoryDoesNotExist(String path)
Creates an exception indicating the directory, represented by the
path parameter, does not exist. |
IllegalArgumentException |
directoryNotWritable(String path)
Creates an exception indicating the directory, represented by the
path parameter, is not writable. |
String |
invalidZip64FileFormat(String fileName)
A message indicating the file, represented by the
fileName parameter, cannot be scanned because it uses
the currently unsupported ZIP64 format. |
String |
invalidZipFileFormat(String fileName)
A message indicating the file, represented by the
fileName parameter, cannot be scanned because it does
not begin with a ZIP file format local file header signature. |
IllegalArgumentException |
notADirectory(String path)
Creates an exception indicating the
path is not a directory. |
IllegalArgumentException |
nullVar(String name)
Creates an exception indicating the variable, represented by the
name parameter, is null. |
String |
previousContentDeployed()
A message indicating a previous version of this content was deployed and remains deployed.
|
String |
scannerNotConfigured()
A message indicating the scanner has not been configured.
|
String |
unsafeAutoDeploy(String errorMsg,
String fileName,
String marker)
A message indicating the file was configured for auto-deploy but could not be safely auto-deployed.
|
static final DeploymentScannerMessages MESSAGES
@Message(id=15050,
value="Cannot remove subsystem while it still has scanners configured. Remove all scanners first.")
String cannotRemoveSubsystem()
@Message(id=15051,
value="Deployment content %s appears to be incomplete and is not progressing toward completion. This content cannot be auto-deployed.%s")
String deploymentContentIncomplete(File file,
String suffix)
file parameter, appears to be incomplete
and is not progressing toward completion.file - the content.suffix - the suffix.@Message(id=15052,
value="Did not receive a response to the deployment operation within the allowed timeout period [%d seconds]. Check the server configuration file and the server logs to find more about the status of the deployment.")
String deploymentTimeout(long timeout)
timeout - the timeout period.@Message(id=15053,
value="%s does not exist")
IllegalArgumentException directoryDoesNotExist(String path)
path parameter, does not exist.path - the path of the directory.IllegalArgumentException for the error.@Message(id=15054,
value="%s is not writable")
IllegalArgumentException directoryNotWritable(String path)
path parameter, is not writable.path - the path of the directory.IllegalArgumentException for the error.@Message(id=15055,
value="File %s cannot be scanned because it does not begin with a ZIP file format local file header signature")
String invalidZipFileFormat(String fileName)
fileName parameter, cannot be scanned because it does
not begin with a ZIP file format local file header signature.fileName - the name of the invalid file.@Message(id=15056,
value="File %s cannot be scanned because it uses the currently unsupported ZIP64 format")
String invalidZip64FileFormat(String fileName)
fileName parameter, cannot be scanned because it uses
the currently unsupported ZIP64 format.fileName - the name of the invalid file.@Message(id=15057,
value="%s is not a directory")
IllegalArgumentException notADirectory(String path)
path is not a directory.path - the path name.IllegalArgumentException for the error.@Message(id=15058,
value="%s is null")
IllegalArgumentException nullVar(String name)
name parameter, is null.name - the name of the null variable.IllegalArgumentException for the error.@Message(id=0,
value=" A previous version of this content was deployed and remains deployed.")
String previousContentDeployed()
@Message(id=15059,
value="scanner not configured")
String scannerNotConfigured()
@Message(id=15060,
value="File %2$s was configured for auto-deploy but could not be safely auto-deployed. The reason the file could not be auto-deployed was: %1$s. To enable deployment of this file create a file called %2$s%3$s")
String unsafeAutoDeploy(String errorMsg,
String fileName,
String marker)
errorMsg - the error message.fileName - the file name.marker - the marker.@Message(id=15061,
value="Extension with module \'org.jboss.as.deployment-scanner\' cannot be installed in a managed domain. Please remove it and any subsystem referencing it")
IllegalStateException deploymentScannerNotForDomainMode()
@Message(id=15062,
value="Failed to list files in directory %s. Check that the contents of the directory are readable.")
RuntimeException cannotListDirectoryFiles(File directory)
Copyright © 2014 JBoss by Red Hat. All rights reserved.