|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.jgit.revwalk.FooterLine
public final class FooterLine
Single line at the end of a message, such as a "Signed-off-by: someone".
These footer lines tend to be used to represent additional information about a commit, like the path it followed through reviewers before finally being accepted into the project's main repository as an immutable commit.
RevCommit.getFooterLines()
Method Summary | |
---|---|
String |
getEmailAddress()
Extract the email address (if present) from the footer. |
String |
getKey()
|
String |
getValue()
|
boolean |
matches(FooterKey key)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public boolean matches(FooterKey key)
key
- key to test this line's key name against.
key.getName().equalsIgnorecase(getKey())
.public String getKey()
public String getValue()
public String getEmailAddress()
If there is an email address looking string inside of angle brackets
(e.g. ""), the return value is the part extracted from inside the
brackets. If no brackets are found, then getValue()
is returned
if the value contains an '@' sign. Otherwise, null.
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |