Package org.eclipse.jgit.api
Class PullResult
- java.lang.Object
-
- org.eclipse.jgit.api.PullResult
-
public class PullResult extends java.lang.Object
Encapsulates the result of aPullCommand
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getFetchedFrom()
FetchResult
getFetchResult()
MergeResult
getMergeResult()
RebaseResult
getRebaseResult()
boolean
isSuccessful()
java.lang.String
toString()
-
-
-
Method Detail
-
getFetchResult
public FetchResult getFetchResult()
- Returns:
- the fetch result, or
null
-
getMergeResult
public MergeResult getMergeResult()
- Returns:
- the merge result, or
null
-
getRebaseResult
public RebaseResult getRebaseResult()
- Returns:
- the rebase result, or
null
-
getFetchedFrom
public java.lang.String getFetchedFrom()
- Returns:
- the name of the remote configuration from which fetch was tried,
or
null
-
isSuccessful
public boolean isSuccessful()
- Returns:
- whether the pull was successful
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-