This task command will generated a password of a specified length.
Before executing this task command the following set should be performed:
setPasswordLength
Upon execution of this command the method getPassword should be called to retrieve the generated password.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT Copyright field. |
static java.lang.String |
defaultCommandClassName Default command implementation class. |
static java.lang.String |
NAME Command name. |
Method Summary | |
---|---|
java.lang.String |
getPassword() Retrieve the password that was generated. |
void |
setPasswordLength(int nPasswordLength)
Sets the length of the password that should be
generated. |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public java.lang.String getPassword()
public void setPasswordLength(int nPasswordLength)
nPasswordLength
- The length of the
Passwod.