1 package org.apache.maven.scm.command.login;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.maven.scm.CommandParameters;
23 import org.apache.maven.scm.ScmException;
24 import org.apache.maven.scm.ScmFileSet;
25 import org.apache.maven.scm.ScmResult;
26 import org.apache.maven.scm.command.AbstractCommand;
27 import org.apache.maven.scm.provider.ScmProviderRepository;
28
29
30
31
32
33 public abstract class AbstractLoginCommand
34 extends AbstractCommand
35 {
36 public abstract LoginScmResult executeLoginCommand( ScmProviderRepository repository, ScmFileSet fileSet,
37 CommandParameters parameters )
38 throws ScmException;
39
40
41 protected ScmResult executeCommand( ScmProviderRepository repository, ScmFileSet fileSet,
42 CommandParameters parameters )
43 throws ScmException
44 {
45 return executeLoginCommand( repository, fileSet, parameters );
46 }
47 }