org.eclipse.egit.github.core
Class RepositoryBranch
java.lang.Object
org.eclipse.egit.github.core.RepositoryBranch
- All Implemented Interfaces:
- Serializable
public class RepositoryBranch
- extends Object
- implements Serializable
Repository branch model class
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RepositoryBranch
public RepositoryBranch()
getName
public String getName()
- Returns:
- name
setName
public RepositoryBranch setName(String name)
- Parameters:
name
-
- Returns:
- this branch
getCommit
public TypedResource getCommit()
- Returns:
- commit
setCommit
public RepositoryBranch setCommit(TypedResource commit)
- Parameters:
commit
-
- Returns:
- this branch
Copyright © 2012. All Rights Reserved.