Klasse AbstractRepositoryCallback<T>
java.lang.Object
io.jenkins.plugins.forensics.git.util.AbstractRepositoryCallback<T>
- Typparameter:
T
- the type of the return value
- Alle implementierten Schnittstellen:
Serializable
,org.jenkinsci.plugins.gitclient.RepositoryCallback<T>
- Bekannte direkte Unterklassen:
DeltaRepositoryCallback
public abstract class AbstractRepositoryCallback<T>
extends Object
implements org.jenkinsci.plugins.gitclient.RepositoryCallback<T>
Code that gets executed on the machine where a Git working directory is local and
Repository
object is accessible.- Autor:
- Ullrich Hafner
- Siehe auch:
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic String
getAbsolutePath
(File absolute) Returns an absolute path for a given file in the Git repository, normalized using Unix path separators.static String
getWorkTree
(org.eclipse.jgit.lib.Repository repository) Returns the root directory of the repository working tree.Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Von Schnittstelle geerbte Methoden org.jenkinsci.plugins.gitclient.RepositoryCallback
invoke
-
Konstruktordetails
-
AbstractRepositoryCallback
public AbstractRepositoryCallback()
-
-
Methodendetails
-
getWorkTree
Returns the root directory of the repository working tree. This path is absolute and normalized using the UNIX path separator.- Parameter:
repository
- the repository- Gibt zurück:
- the absolute path to the working tree
-
getAbsolutePath
Returns an absolute path for a given file in the Git repository, normalized using Unix path separators.- Parameter:
absolute
- absolute file name- Gibt zurück:
- the absolute path to the working tree
-