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
-
CLI
static final org.jboss.logging.Logger CLI
-
-
Method Detail
-
username
@Message("Username: ") String username()
-
password
@Message("Password: ") String password()
-
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)
-
forbidden
@Message("The user is not allowed to access the server resource: %s") AccessDeniedException forbidden(String s)
-
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") org.aesh.command.parser.RequiredOptionException 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)
-
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)
-
noSuchService
@Message("Cannot find service \'%s\' in namespace \'%s\'") IllegalArgumentException noSuchService(String serviceName, String namespace)
-
noGeneratedSecret
@Message("Cannot find or access 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)
-
batchError
@Message("Error executing file: %s, line %d: \'%s\'") org.aesh.command.CommandException batchError(String file, int lineNumber, String line, @Cause Throwable t)
-
requiresAllOf
@Message("Option \'%s\' requires option \'%s\'") org.aesh.command.parser.RequiredOptionException requiresAllOf(String option1, String option2)
-
missingCacheName
@Message("The cache name is required") IllegalArgumentException missingCacheName()
-
noCatalog
@Message("Could not determine catalog source") IllegalStateException noCatalog()
-
noTargetNamespaces
@Message("Target namespaces must be specified when not installing globally") IllegalArgumentException noTargetNamespaces()
-
noDefaultOperatorNamespace
@Message("Could not find a default operator namespace") IllegalStateException noDefaultOperatorNamespace()
-
noKubernetes
@Message("Kubernetes client is unavailable in this mode") IllegalStateException noKubernetes()
-
noOperatorSubscription
@Message("Could not find an operator subscription in namespace \'%s\'") IllegalStateException noOperatorSubscription(String namespace)
-
exposeTypeRequiresPort
@Message("Expose type \'%s\' requires a port") IllegalArgumentException exposeTypeRequiresPort(String exposeType)
-
encryptionTypeRequiresSecret
@Message("Encryption type \'%s\' requires a secret name") IllegalArgumentException encryptionTypeRequiresSecret(String encryptionType)
-
noRunningPodsInService
@Message("No running pods available in service %s") IllegalStateException noRunningPodsInService(String name)
-
usernameRequired
@Message("A username must be specified") IllegalArgumentException usernameRequired()
-
checksumFailed
@Message("Checksum for \'%s\' does not match. Supplied: %s Actual: %s") SecurityException checksumFailed(String path, String checksum, String computed)
-
artifactNotFound
@Message("Artifact \'%s\' not found") IllegalArgumentException artifactNotFound(String path)
-
retryDownload
@Message("Retry download \'%d/%d\'") String retryDownload(int retry, int retries)
-
unsupportedListFormat
@Message("The resource does not support the \'%s\' list format") IllegalArgumentException unsupportedListFormat(Resource.ListFormat format)
-
-