Class EventRecorder.EventRecord
- java.lang.Object
-
- org.vx68k.bitbucket.api.client.webapp.EventRecorder.EventRecord
-
- Enclosing class:
- EventRecorder
@Entity(name="EventRecord") public static class EventRecorder.EventRecord extends Object
Event record.
-
-
Constructor Summary
Constructors Constructor Description EventRecord()Constructs this object with no parameters.EventRecord(BitbucketEvent bitbucketEvent)Constructs this object with aBitbucketEventvalue.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitbucketEventgetEvent()Returns the Bitbucket event.intgetId()Returns the identifier of this record.DategetRecorded()Returns the recorded timestamp.voidsetEvent(BitbucketEvent value)Sets the Bitbucket event.voidsetId(int value)Sets the identifier of this record to anintvalue.voidsetRecorded(Date value)Sets the recorded timestamp to aDatevalue.
-
-
-
Constructor Detail
-
EventRecord
public EventRecord()
Constructs this object with no parameters.
-
EventRecord
public EventRecord(BitbucketEvent bitbucketEvent)
Constructs this object with aBitbucketEventvalue.- Parameters:
bitbucketEvent-BitbucketEventvalue
-
-
Method Detail
-
getId
public final int getId()
Returns the identifier of this record.- Returns:
- the identifier of this record
-
setId
public final void setId(int value)
Sets the identifier of this record to anintvalue.- Parameters:
value-intvalue
-
getRecorded
public final Date getRecorded()
Returns the recorded timestamp.- Returns:
- the recorded timestamp
-
setRecorded
public final void setRecorded(Date value)
Sets the recorded timestamp to aDatevalue.- Parameters:
value-Datevalue
-
getEvent
public final BitbucketEvent getEvent()
Returns the Bitbucket event.- Returns:
- the Bitbucket event
-
setEvent
public final void setEvent(BitbucketEvent value)
Sets the Bitbucket event.- Parameters:
value- Bitbucket event
-
-