org.gitective.core
Class RepositoryUtils.RefDiff

java.lang.Object
  extended by org.gitective.core.RepositoryUtils.RefDiff
Enclosing class:
RepositoryUtils

public static class RepositoryUtils.RefDiff
extends Object

Wrapper class for a remote and local ref that are different


Constructor Summary
protected RepositoryUtils.RefDiff(org.eclipse.jgit.lib.Ref local, org.eclipse.jgit.lib.Ref remote)
          Create ref diff
 
Method Summary
 org.eclipse.jgit.lib.Ref getLocal()
          Get local ref.
 org.eclipse.jgit.lib.Ref getRemote()
          Get non-null remote ref
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryUtils.RefDiff

protected RepositoryUtils.RefDiff(org.eclipse.jgit.lib.Ref local,
                                  org.eclipse.jgit.lib.Ref remote)
Create ref diff

Parameters:
local -
remote -
Method Detail

getLocal

public org.eclipse.jgit.lib.Ref getLocal()
Get local ref. This will be null if the ref only exists remotely.

Returns:
ref

getRemote

public org.eclipse.jgit.lib.Ref getRemote()
Get non-null remote ref

Returns:
ref


Copyright © 2011-2012. All Rights Reserved.