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 aBitbucketEvent
value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitbucketEvent
getEvent()
Returns the Bitbucket event.int
getId()
Returns the identifier of this record.Date
getRecorded()
Returns the recorded timestamp.void
setEvent(BitbucketEvent value)
Sets the Bitbucket event.void
setId(int value)
Sets the identifier of this record to anint
value.void
setRecorded(Date value)
Sets the recorded timestamp to aDate
value.
-
-
-
Constructor Detail
-
EventRecord
public EventRecord()
Constructs this object with no parameters.
-
EventRecord
public EventRecord(BitbucketEvent bitbucketEvent)
Constructs this object with aBitbucketEvent
value.- Parameters:
bitbucketEvent
-BitbucketEvent
value
-
-
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 anint
value.- Parameters:
value
-int
value
-
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 aDate
value.- Parameters:
value
-Date
value
-
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
-
-