public class UserConfig extends Object
Modifier and Type | Field and Description |
---|---|
static Config.SectionParser<UserConfig> |
KEY
Key for
Config.get(SectionParser) . |
Modifier and Type | Method and Description |
---|---|
String |
getAuthorEmail()
Get the author email as defined in git variables and configurations.
|
String |
getAuthorName()
Get the author name as defined in the git variables and configurations.
|
String |
getCommitterEmail()
Get the committer email as defined in git variables and configurations.
|
String |
getCommitterName()
Get the committer name as defined in the git variables and
configurations.
|
boolean |
isAuthorEmailImplicit()
Whether the author email was not explicitly configured but constructed
from information the system has about the logged on user
|
boolean |
isAuthorNameImplicit()
Whether the author name was not explicitly configured but constructed
from information the system has about the logged on user
|
boolean |
isCommitterEmailImplicit()
Whether the author email was not explicitly configured but constructed
from information the system has about the logged on user
|
boolean |
isCommitterNameImplicit()
Whether the committer name was not explicitly configured but constructed
from information the system has about the logged on user
|
public static final Config.SectionParser<UserConfig> KEY
Config.get(SectionParser)
.public String getAuthorName()
public String getCommitterName()
public String getAuthorEmail()
public String getCommitterEmail()
public boolean isAuthorNameImplicit()
public boolean isAuthorEmailImplicit()
public boolean isCommitterNameImplicit()
public boolean isCommitterEmailImplicit()
Copyright © 2020 Eclipse JGit Project. All rights reserved.