Index

A C D E G I P U 
All Classes All Packages

A

addRemote(String) - Method in interface com.github.gastaldi.git.GitWrapper
Adds remote named origin
addRemote(String) - Method in class com.github.gastaldi.git.impl.GitWrapperImpl
 

C

clean() - Method in interface com.github.gastaldi.git.GitWrapper
Deletes .git directory in given path removing traces that this was ever a git repository
clean() - Method in class com.github.gastaldi.git.impl.GitWrapperImpl
 
com.github.gastaldi.git - package com.github.gastaldi.git
 
com.github.gastaldi.git.impl - package com.github.gastaldi.git.impl
 
configureSparseCheckout(List<String>) - Method in interface com.github.gastaldi.git.GitWrapper
Configures repository to do sparse checkout populating configuration with given checkout paths
configureSparseCheckout(List<String>) - Method in class com.github.gastaldi.git.impl.GitWrapperImpl
 

D

decorate(String, String, String) - Method in class com.github.gastaldi.git.impl.URLCredentialsDecoratorImpl
 
decorate(String, String, String) - Method in interface com.github.gastaldi.git.URLCredentialsDecorator
Decorates given url with credentials if present or returns as is when there are no credentials Credentials will be escaped for url

E

ensureDirectory() - Method in interface com.github.gastaldi.git.GitWrapper
Checks whether the pwd directory exists and creates if it doesn't
ensureDirectory() - Method in class com.github.gastaldi.git.impl.GitWrapperImpl
 
execute() - Method in class com.github.gastaldi.git.GitCheckoutMojo
 
executeCommand(Path, String...) - Static method in class com.github.gastaldi.git.impl.ExecutionHelper
Executes given command in pwd and waits for result IO is inherited from this process
ExecutionException - Exception in com.github.gastaldi.git.impl
 
ExecutionException(int, String) - Constructor for exception com.github.gastaldi.git.impl.ExecutionException
 
ExecutionException(int, String, Throwable) - Constructor for exception com.github.gastaldi.git.impl.ExecutionException
 
ExecutionException(String, Throwable) - Constructor for exception com.github.gastaldi.git.impl.ExecutionException
 
ExecutionHelper - Class in com.github.gastaldi.git.impl
 

G

getExitCode() - Method in exception com.github.gastaldi.git.impl.ExecutionException
 
GitCheckoutMojo - Class in com.github.gastaldi.git
Clones only specific paths from a Git repository
GitCheckoutMojo() - Constructor for class com.github.gastaldi.git.GitCheckoutMojo
 
GitWrapper - Interface in com.github.gastaldi.git
 
GitWrapperImpl - Class in com.github.gastaldi.git.impl
 
GitWrapperImpl() - Constructor for class com.github.gastaldi.git.impl.GitWrapperImpl
 

I

initialize(Path) - Method in interface com.github.gastaldi.git.GitWrapper
Initializes this wrapper with pwd.
initialize(Path) - Method in class com.github.gastaldi.git.impl.GitWrapperImpl
 
initRepository() - Method in interface com.github.gastaldi.git.GitWrapper
Initializes new git repository in given path
initRepository() - Method in class com.github.gastaldi.git.impl.GitWrapperImpl
 

P

pull(String) - Method in interface com.github.gastaldi.git.GitWrapper
Performs git pull using origin remote and given branch
pull(String) - Method in class com.github.gastaldi.git.impl.GitWrapperImpl
 

U

URLCredentialsDecorator - Interface in com.github.gastaldi.git
 
URLCredentialsDecoratorImpl - Class in com.github.gastaldi.git.impl
 
URLCredentialsDecoratorImpl() - Constructor for class com.github.gastaldi.git.impl.URLCredentialsDecoratorImpl
 
A C D E G I P U 
All Classes All Packages