Package sonia.scm.repository.spi
Class RepositoryServiceProvider
java.lang.Object
sonia.scm.repository.spi.RepositoryServiceProvider
- All Implemented Interfaces:
Closeable
,AutoCloseable
This class is an extension base for SCM system providers to implement command functionalitites.
If unimplemented, the methods within this class throw
CommandNotSupportedException
. These are not supposed
to be called if unimplemented for an SCM system.- Since:
- 1.17
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
The default implementation of this method does nothing.
-
Constructor Details
-
RepositoryServiceProvider
public RepositoryServiceProvider()
-
-
Method Details
-
getSupportedCommands
-
close
The default implementation of this method does nothing. If you need to free resources, close connections or release locks than you have to override this method.- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
getSupportedFeatures
-
getBlameCommand
-
getBranchesCommand
-
getBranchCommand
-
getBranchDetailsCommand
-
getBrowseCommand
-
getBundleCommand
-
getCatCommand
-
getChangesetsCommand
-
getDiffCommand
-
getDiffResultCommand
-
getFileLockCommand
-
getFullHealthCheckCommand
-
getIncomingCommand
-
getLogCommand
-
getLookupCommand
-
getMergeCommand
-
getMirrorCommand
-
getModificationsCommand
-
getModifyCommand
-
getOutgoingCommand
-
getPullCommand
-
getPushCommand
-
getRevertCommand
-
getTagsCommand
-
getTagCommand
-
getUnbundleCommand
-