Package org.apache.maven.scm.provider
Class ScmProviderRepositoryStub
- java.lang.Object
-
- org.apache.maven.scm.provider.ScmProviderRepository
-
- org.apache.maven.scm.provider.ScmProviderRepositoryStub
-
public class ScmProviderRepositoryStub extends ScmProviderRepository
Stub for ScmProviderRepository for unit testing purposes. More information about Stubs on Martin Fowler's TestDouble- Author:
- Carlos Sanchez
-
-
Constructor Summary
Constructors Constructor Description ScmProviderRepositoryStub()
Creates a ScmProviderRepositoryStub with null user and password, and persistCheckout false
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isPersistCheckout()
void
setPersistCheckout(boolean persistCheckout)
-
Methods inherited from class org.apache.maven.scm.provider.ScmProviderRepository
getParent, getPassword, getRelativePath, getUser, getWorkItem, isPushChanges, setPassword, setPushChanges, setUser, setWorkItem
-
-
-
-
Constructor Detail
-
ScmProviderRepositoryStub
public ScmProviderRepositoryStub()
Creates a ScmProviderRepositoryStub with null user and password, and persistCheckout false
-
-
Method Detail
-
isPersistCheckout
public boolean isPersistCheckout()
- Overrides:
isPersistCheckout
in classScmProviderRepository
-
setPersistCheckout
public void setPersistCheckout(boolean persistCheckout)
- Overrides:
setPersistCheckout
in classScmProviderRepository
-
-