Package jenkins.plugins.git
Class GitToolChooser.RepositorySizeAPI
java.lang.Object
jenkins.plugins.git.GitToolChooser.RepositorySizeAPI
- All Implemented Interfaces:
ExtensionPoint
- Enclosing class:
- GitToolChooser
public abstract static class GitToolChooser.RepositorySizeAPI
extends Object
implements ExtensionPoint
Other plugins can estimate the size of repository using this extension point
The size is assumed to be in KiBs
-
Nested Class Summary
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionall()
abstract Long
getSizeOfRepository
(String remote, Item context, String credentialsId) abstract boolean
isApplicableTo
(String remote, Item context, String credentialsId)