Top Description Fields Constructors Methods
org.eclipse.jgit.notes

public Class Note

extends ObjectId
Class Inheritance
Imports
org.eclipse.jgit.lib.AnyObjectId, .ObjectId

In-memory representation of a single note attached to one object.

Field Summary

Modifier and TypeField and Description
private ObjectId

Constructor Summary

AccessConstructor and Description
public
Note(AnyObjectId
the object that has a note attached to it.
noteOn
,
ObjectId
the actual note data contained in this note
noteData
)

A Git note about the object referenced by noteOn.

Method Summary

Modifier and TypeMethod and Description
public ObjectId

Returns:

the note content.
getData
()

Get the note content.

pack-priv void
setData(ObjectId newData)

public String
toString()

Overrides org.eclipse.jgit.lib.AnyObjectId.toString.

Returns a string representation of the object.

Inherited from org.eclipse.jgit.lib.ObjectId:
equalsfromRawfromRawfromRawfromRawfromRawfromStringfromStringisIdtoObjectIdtoStringzeroId

Field Detail

databack to summary
private ObjectId data

Constructor Detail

Noteback to summary
public Note(AnyObjectId noteOn, ObjectId noteData)

A Git note about the object referenced by noteOn.

Parameters
noteOn:AnyObjectId

the object that has a note attached to it.

noteData:ObjectId

the actual note data contained in this note

Method Detail

getDataback to summary
public ObjectId getData()

Get the note content.

Returns:ObjectId

the note content.

setDataback to summary
pack-priv void setData(ObjectId newData)
toStringback to summary
public String toString()

Overrides org.eclipse.jgit.lib.AnyObjectId.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Returns:String

a string representation of the object

Annotations
@SuppressWarnings:nls
@Override