Class OptionalPasswordPromptTransfer

    • Constructor Detail

      • OptionalPasswordPromptTransfer

        public OptionalPasswordPromptTransfer()
    • Method Detail

      • handles

        public boolean handles​(Object source,
                               Object target)
        Returns whether it can handle the transfer.
        Specified by:
        handles in class AbstractOptionTransfer
        Parameters:
        source - the source object
        target - the target object
        Returns:
        true if options can be transferred by this class
      • doTransfer

        protected String doTransfer​(Object source,
                                    Object target)
        Does the actual transfer of options.
        Specified by:
        doTransfer in class AbstractOptionTransfer
        Parameters:
        source - the source object
        target - the target object
        Returns:
        null if successful, otherwise error message