Class GeneratePasswordCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, GeneratePasswordCmd,,,,,,

    public class GeneratePasswordCmdImpl
    extends TaskCommandImpl
    implements GeneratePasswordCmd

    This task command will randomly generate a password of a specified length.

    Before executing this task command, invoke the following method:

    • setPasswordLength

    Upon execution of this command, call the getPassword method to retrieve the randomly generated password. Error View Task: GeneratePasswordErrorView

    See Also:
    Serialized Form
    • Field Detail


        public static final java.lang.String COPYRIGHT
        The copyright statement.
        See Also:
        Constant Field Values

        public static final java.lang.String ERRTASK_NAME
        The error task name.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GeneratePasswordCmdImpl

        public GeneratePasswordCmdImpl()
    • Method Detail

      • getPassword

        public java.lang.String getPassword()
        This method retrieves the generated Password.
        Specified by:
        getPassword in interface GeneratePasswordCmd
        The Password.
      • setPasswordLength

        public void setPasswordLength(int nPasswordLength)
        This method sets the length of the password to generate.
        Specified by:
        setPasswordLength in interface GeneratePasswordCmd
        nPasswordLength - The length of the Password.