|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectbr.com.objectos.git.RefName
public abstract class RefName
Represents the name of a Git reference.
| Field Summary | |
|---|---|
static RefName |
MASTER
The refs/heads/master reference. |
| Method Summary | |
|---|---|
void |
formatToString(StringBuilder sb,
int depth)
|
static RefName |
namedBranch(String name)
Creates a new RefName representing a named branch. |
abstract String |
print()
Returns the name of this reference. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final RefName MASTER
| Method Detail |
|---|
public static RefName namedBranch(String name)
RefName representing a named branch.
For example, if RefName.namedBranch("test") is invoked, then the
returned RefName will represent the Git reference
refs/heads/test.
name - the name of the branch
RefName representing a named branch.
public final void formatToString(StringBuilder sb,
int depth)
formatToString in interface br.com.objectos.core.object.ToStringObjectpublic abstract String print()
public final String toString()
toString in class Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||