Package org.infinispan.cli.logging
Interface Messages
-
- All Known Implementing Classes:
Messages_$bundle
@MessageBundle(projectCode="ISPN") public interface Messages- Since:
- 10.0
-
-
Method Summary
-
-
-
Field Detail
-
MSG
static final Messages MSG
-
-
Method Detail
-
username
@Message("Username: ") String username()
-
password
@Message("Password: ") String password()
-
cliHelpHelp
@Message("Displays usage information and exits.") String cliHelpHelp()
-
cliHelpVersion
@Message("Displays version information and exits.") String cliHelpVersion()
-
fileNotExists
@Message("File \'%s\' doesn\'t exist or is not a file") String fileNotExists(String inputFile)
-
cliHelpConnect
@Message("Connects to a remote %s instance\n") String cliHelpConnect(String brandName)
-
cliHelpConnectHTTP
@Message("Server HTTP http://[username[:password]]@host:port") String cliHelpConnectHTTP()
-
cliHelpFile
@Message("Reads input from the specified file instead of using interactive mode. If FILE is \'-\', then commands will be read from stdin.") String cliHelpFile()
-
cliHelpTruststorePassword
@Message("The password of an optional truststore to be used for SSL/TLS connections.") String cliHelpTruststorePassword()
-
cliHelpTruststore
@Message("The path of an optional truststore to be used for SSL/TLS connections.") String cliHelpTruststore()
-
cliHelpTrustAll
@Message("Trusts all certificates in SSL/TLS connections.") String cliHelpTrustAll()
-
notFound
@Message("Not Found: %s") IOException notFound(String s)
-
unauthorized
@Message("The supplied credentials are invalid %s") AccessDeniedException unauthorized(String s)
-
error
@Message("Error: %s") IOException error(String s)
-
genericError
@Message("Error: %s") RuntimeException genericError(String s, @Cause Throwable t)
-
forbidden
@Message("The user is not allowed to access the server resource: %s") AccessDeniedException forbidden(String s)
-
keyStoreError
@Message("Error while loading trust store \'%s\'") String keyStoreError(String trustStorePath, @Cause Exception e)
-
noSuchResource
@Message("No such resource \'%s\'") IllegalArgumentException noSuchResource(String name)
-
illegalContext
@Message("Command invoked from the wrong context") IllegalStateException illegalContext()
-
illegalCommandArguments
@Message("Illegal arguments for command") IllegalArgumentException illegalCommandArguments()
-
mutuallyExclusiveOptions
@Message("The options \'%s\' and \'%s\' are mutually exclusive") IllegalArgumentException mutuallyExclusiveOptions(String arg1, String arg2)
-
requiresOneOf
@Message("One of the \'%s\' and \'%s\' options are required") IllegalArgumentException requiresOneOf(String arg1, String arg2)
-
connectionFailed
@Message("Could not connect to server: %s") ConnectException connectionFailed(String message)
-
invalidResource
@Message("Invalid resource \'%s\'") IllegalArgumentException invalidResource(String name)
-
patchNoPatchesInstalled
@Message("No patches installed") String patchNoPatchesInstalled()
-
patchCannotApply
@Message("The supplied patch cannot be applied to %s %s") IllegalStateException patchCannotApply(String brandName, String version)
-
patchShaMismatch
@Message("File %s SHA mismatch. Expected = %s, Actual = %s") String patchShaMismatch(Path path, String digest, String sha256)
-
patchValidationErrors
@Message("The following errors were encountered while validating the installation:%n%s") IllegalStateException patchValidationErrors(String errors)
-
patchNoPatchesInstalledToRollback
@Message("No installed patches to roll back") IllegalStateException patchNoPatchesInstalledToRollback()
-
patchCannotFindCommons
@Message("Cannot find the infinispan-commons jar under %s") IllegalStateException patchCannotFindCommons(Path lib)
-
patchIncompatibleProduct
@Message("Cannot create patch %s with patches for %s") IllegalStateException patchIncompatibleProduct(String localBrand, String patchBrand)
-
patchCannotWritePatchesFile
@Message("Could not write patches file") IllegalStateException patchCannotWritePatchesFile(@Cause IOException e)
-
patchDryRun
@Message("[Dry run] ") String patchDryRun()
-
patchCreateError
@Message("Error while creating patch") RuntimeException patchCreateError(@Cause IOException e)
-
patchCannotRead
@Message("Could not read %s") IllegalStateException patchCannotRead(Path patchesFile, @Cause IOException e)
-
patchFileAlreadyExists
@Message("File \'%s\' already exists") FileAlreadyExistsException patchFileAlreadyExists(Path patch)
-
patchCreateArgumentsRequired
@Message("At least three arguments are required: the patch file, the target server path and one or more source server paths") IllegalArgumentException patchCreateArgumentsRequired()
-
patchArchiveArgumentRequired
@Message("You must specify the path to a patch archive") IllegalArgumentException patchArchiveArgumentRequired()
-
patchServerAndTargetMustBeDifferent
@Message("Cannot create a patch from identical source and target server versions: %s") IllegalArgumentException patchServerAndTargetMustBeDifferent(String version)
-
patchCorruptArchive
@Message("The patch archive appears to have a corrupt entry for: %s") String patchCorruptArchive(PatchOperation operation)
-
userToolUsername
@Message("Specify a username: ") String userToolUsername()
-
userToolPassword
@Message("Set a password for the user: ") String userToolPassword()
-
userToolPasswordConfirm
@Message("Confirm the password for the user: ") String userToolPasswordConfirm()
-
userToolUserExists
@Message("User `%s` already exists") IllegalStateException userToolUserExists(String username)
-
userToolNoPassword
@Message("Cannot add user `%s` without a password.") String userToolNoPassword(String username)
-
userToolIOError
@Message("Error accessing file \'%s\'") RuntimeException userToolIOError(Path path, @Cause IOException e)
-
userToolUnknownAlgorithm
@Message("Unkown password encryption algorithm: \'%s\'") IllegalArgumentException userToolUnknownAlgorithm(String algorithm)
-
userToolNoSuchUser
@Message("User `%s` does not exist") IllegalArgumentException userToolNoSuchUser(String username)
-
userDescribe
@Message("{ username: \"%s\", realm: \"%s\", groups = %s }") String userDescribe(String username, String realm, String[] userGroups)
-
invalidUnicodeSequence
@Message("Invalid Unicode sequence \'%s\'") IOException invalidUnicodeSequence(String sequence, @Cause NoSuchElementException e)
-
userToolIncompatibleEncrypyion
@Message("Attempt to use %s passwords, but only %s passwords are allowed") IllegalArgumentException userToolIncompatibleEncrypyion(UserTool.Encryption encryption1, UserTool.Encryption encryption2)
-
userToolWrongRealm
@Message("Attempted to use a different realm \'%s\' than the already existing one \'%s\'") IllegalArgumentException userToolWrongRealm(String realm1, String realm2)
-
configLoadFailed
@Message("Unable to load CLI configuration from `%s`. Using defaults.") String configLoadFailed(String path)
-
configStoreFailed
@Message("Unable to store CLI configuration to \'%s\'.") String configStoreFailed(String path)
-
wrongArgumentCount
@Message("Wrong argument count: %d.") IllegalArgumentException wrongArgumentCount(int size)
-
backupAbsolutePathRequired
@Message("Backup path on the server must be absolute") IllegalArgumentException backupAbsolutePathRequired()
-
noServicesFound
@Message("No services found") NoSuchElementException noServicesFound()
-
specifyService
@Message("The service must be specified") IllegalStateException specifyService()
-
wrongServiceType
@Message("The service \'%s\' is of the wrong type") IllegalArgumentException wrongServiceType(String serviceName)
-
noSuchService
@Message("Cannot find service \'%s\'") IllegalArgumentException noSuchService(String serviceName)
-
noGeneratedSecret
@Message("Cannot find generated secrets for service \'%s\'") IllegalStateException noGeneratedSecret(String serviceName)
-
noDefaultNamespace
@Message("A namespace was not specified and a default has not been set") IllegalStateException noDefaultNamespace()
-
credentialToolPassword
@Message("Enter the password for the credential keystore: ") String credentialToolPassword()
-
credentialToolPasswordConfirm
@Message("Confirm the password for the credential store: ") String credentialToolPasswordConfirm()
-
credentialToolCredential
@Message("Set a credential for the alias: ") String credentialToolCredential()
-
credentialToolCredentialConfirm
@Message("Confirm the credential: ") String credentialToolCredentialConfirm()
-
illegalFilterRule
@Message("Filter rule \'%s\' is not in the format [ACCEPT|REJECT]/{CIDR}") IllegalArgumentException illegalFilterRule(String rule)
-
-