[ http://jira.codehaus.org/browse/SCM-50?page=comments#action_43386 ] 

Emmanuel Venisse commented on SCM-50:
-------------------------------------

all commands methods will be in ScmProvider. For obtain correct signature, each 
command must return a specific ScmResult.
Actually all command implements the executeCommand method that return 
ScmResult, so we need to refactor all command and implements a specific 
interface by command and remove the executeCommand in Command interface

For checkout, we'll do manager.getProvider().checkout(...)

> flesh out the SCM provider interface
> ------------------------------------
>
>          Key: SCM-50
>          URL: http://jira.codehaus.org/browse/SCM-50
>      Project: Maven SCM
>         Type: Task
>   Components: maven-scm-api
>     Reporter: Brett Porter
>     Assignee: Emmanuel Venisse
>      Fix For: 1.0-alpha-2

>
>
> instead of having an execute() method, the ScmProvider interface should have 
> individual commands in the interface, like ScmManager currently does.
> In fact, after this, the ScmManager need not have the commands, and just 
> needs to expose a getProvider method.
> This should eventually lead to the removal of CommandNameConstants

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to