public interface GeneratePasswordCmd extends TaskCommand
This task command will generate a password of a specified length.
Before executing this task command, the following method should be performed:
Upon execution of this command, call the method getPassword to retrieve the generated password.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The copyright field.
|
static java.lang.String |
defaultCommandClassName
The default command implementation class.
|
static java.lang.String |
NAME
The command name.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPassword()
This method retrieves the generatedpassword.
|
void |
setPasswordLength(int nPasswordLength)
This method sets the length of the password to generate.
|
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String NAME
static final java.lang.String defaultCommandClassName
java.lang.String getPassword()
void setPasswordLength(int nPasswordLength)
nPasswordLength
- The length of the Password.