Package org.eclipse.jgit.transport
Class PushConfig
- java.lang.Object
-
- org.eclipse.jgit.transport.PushConfig
-
public class PushConfig extends Object
Push section of a Git configuration file.- Since:
- 4.9
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PushConfig.PushDefault
Git config values forpush.default
.static class
PushConfig.PushRecurseSubmodulesMode
Git config values forpush.recurseSubmodules
.
-
Constructor Summary
Constructors Constructor Description PushConfig(Config config)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PushConfig.PushDefault
getPushDefault()
Retrieves the value of git configpush.default
.PushConfig.PushRecurseSubmodulesMode
getRecurseSubmodules()
Retrieves the value of git configpush.recurseSubmodules
.
-
-
-
Constructor Detail
-
PushConfig
public PushConfig(Config config)
Creates a new instance.- Parameters:
config
-Config
to fill thePushConfig
from- Since:
- 6.1
-
-
Method Detail
-
getRecurseSubmodules
public PushConfig.PushRecurseSubmodulesMode getRecurseSubmodules()
Retrieves the value of git configpush.recurseSubmodules
.- Returns:
- the value
- Since:
- 6.1
-
getPushDefault
public PushConfig.PushDefault getPushDefault()
Retrieves the value of git configpush.default
.- Returns:
- the value
- Since:
- 6.1
-
-