Package sonia.scm.repository.spi
Class HookContextProvider
java.lang.Object
sonia.scm.repository.spi.HookContextProvider
Repository type specific provider for
HookContext.- Since:
- 1.33
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected HookMessageProviderCreates a new provider specificHookMessageProvideror throws aHookFeatureIsNotSupportedException.Return the provider specificHookBranchProvideror throws aHookFeatureIsNotSupportedException.Return the provider specificHookChangesetProvideror throws aHookFeatureIsNotSupportedException.Return the provider specificHookMergeDetectionProvideror throws aHookFeatureIsNotSupportedException.final HookMessageProviderReturn the provider specificHookMessageProvideror throws aHookFeatureIsNotSupportedException.abstract Set<HookFeature>Returns a set of supported hook features of the client.Return the provider specificHookTagProvideror throws aHookFeatureIsNotSupportedException.
-
Constructor Details
-
HookContextProvider
public HookContextProvider()
-
-
Method Details
-
getMessageProvider
Return the provider specificHookMessageProvideror throws aHookFeatureIsNotSupportedException. The method will throw aHookExceptionif the client is already disconnected.- Returns:
- provider specific
HookMessageProvider
-
getSupportedFeatures
Returns a set of supported hook features of the client.- Returns:
- supported features
-
getBranchProvider
Return the provider specificHookBranchProvideror throws aHookFeatureIsNotSupportedException.- Returns:
- provider specific
HookBranchProvider - Since:
- 1.45
-
getTagProvider
Return the provider specificHookTagProvideror throws aHookFeatureIsNotSupportedException.- Returns:
- provider specific
HookTagProvider - Since:
- 1.50
-
getChangesetProvider
Return the provider specificHookChangesetProvideror throws aHookFeatureIsNotSupportedException.- Returns:
- provider specific
HookChangesetProvider
-
getMergeDetectionProvider
Return the provider specificHookMergeDetectionProvideror throws aHookFeatureIsNotSupportedException.- Returns:
- provider specific
HookMergeDetectionProvider
-
getModificationsProvider
-
createMessageProvider
Creates a new provider specificHookMessageProvideror throws aHookFeatureIsNotSupportedException.- Returns:
- provider specific
HookChangesetProvider
-