[
https://issues.apache.org/jira/browse/SSHD-407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Guillaume Nodet resolved SSHD-407.
----------------------------------
Resolution: Fixed
Fix Version/s: (was: 0.14.0)
1.0.0
Assignee: Guillaume Nodet
https://git-wip-us.apache.org/repos/asf?p=mina-sshd.git;a=commitdiff;h=bb86e6b58f1731348e2c5b19cfb1833911abf985
> Use a Builder in order to create a ScpCommandFactory
> ----------------------------------------------------
>
> Key: SSHD-407
> URL: https://issues.apache.org/jira/browse/SSHD-407
> Project: MINA SSHD
> Issue Type: Improvement
> Reporter: Goldstein Lyor
> Assignee: Guillaume Nodet
> Priority: Minor
> Fix For: 1.0.0
>
> Attachments:
> 0016-SSHD-407-Use-a-Builder-in-order-to-create-a-ScpCommandFactory-fix-1.patch
>
>
> Since the _ScpCommandFactory_ has so many configuration arguments due to
> SSHD-395 and SSHD-401 (and I have a few more ideas), I thought it would be
> more appropriate to use a _Builder_ pattern. Attached is the proposed patch.
> A few side-notes:
> * I added the _ObjectBuilder_ interface as a standard way to expose
> _Builder_(s) + modified the existing ones accordingly
> * Added _mockito-all_ test artifacts - very useful for mocking interfaces and
> interactions - in my case, it was so I wouldn't have to implement some
> interfaces since I do not intend of calling them
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)