java.lang.Object | ||
↳ | java.lang.Enum<E extends java.lang.Enum<E>> | |
↳ | com.atlassian.bitbucket.scm.git.GitObjectType |
Defines the types of objects which may be returned by git cat-file -t
.
Enum Values | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
GitObjectType | BLOB | A blob, which is a file of some type. |
|||||||||
GitObjectType | COMMIT | A commit, which is a submodule . |
|||||||||
GitObjectType | TAG | A tag, which is a reference to a specific commit and may be annotated, signed or lightweight. |
|||||||||
GitObjectType | TREE | A tree, which is a directory . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Determines the
GitObjectType for the provided git cat-file -t object type. | |||||||||||
Retrieves the
ContentTreeNode.Type for this object type, which may be null for object types
that are not readily expressed in as content nodes. | |||||||||||
Retrieves the type used by
git cat-file -t to represent this object type. | |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Enum
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.lang.Comparable
|
A tag, which is a reference to a specific commit
and may be annotated, signed or lightweight.
Determines the GitObjectType
for the provided git cat-file -t
object type.
objectType | the git object type |
---|
GitObjectType
associated with the provided git
object typeIllegalArgumentException | if no GitObjectType matches the provided git object type
|
---|
Retrieves the ContentTreeNode.Type
for this object type, which may be null
for object types
that are not readily expressed in as content nodes.
null
if this object should not be shown in the
content tree
Retrieves the type used by git cat-file -t
to represent this object type.
git
object type