Package com.jcabi.github
Interface Event
-
- All Superinterfaces:
Comparable<Event>
,JsonReadable
- All Known Implementing Classes:
Event.Smart
@Immutable public interface Event extends Comparable<Event>, JsonReadable
Github event.- Since:
- 0.4
- Version:
- $Id: 58189dac34299d386e754643e4b2ca5f211eb6fb $
- Author:
- Yegor Bugayenko (yegor256@gmail.com)
- See Also:
- Issue Events API
- Suppressed Checkstyle violations:
- MultipleStringLiterals (500 lines)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Event.Smart
Smart event with extra features.
-
Field Summary
Fields Modifier and Type Field Description static String
ASSIGNED
Event type.static String
CLOSED
Event type.static String
DEMILESTONED
Event type.static String
HEAD_REF_DELETED
Event type.static String
HEAD_REF_RESTORED
Event type.static String
LABELED
Event type.static String
LOCKED
Event type.static String
MENTIONED
Event type.static String
MERGED
Event type.static String
MILESTONED
Event type.static String
REFERENCED
Event type.static String
RENAMED
Event type.static String
REOPENED
Event type.static String
SUBSCRIBED
Event type.static String
UNASSIGNED
Event type.static String
UNLABELED
Event type.static String
UNLOCKED
Event type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
number()
Get its number.Repo
repo()
Repository we're in.-
Methods inherited from interface java.lang.Comparable
compareTo
-
Methods inherited from interface com.jcabi.github.JsonReadable
json
-
-
-
-
Field Detail
-
CLOSED
static final String CLOSED
Event type.- See Also:
- Event Types, Constant Field Values
-
REOPENED
static final String REOPENED
Event type.- See Also:
- Event Types, Constant Field Values
-
SUBSCRIBED
static final String SUBSCRIBED
Event type.- See Also:
- Event Types, Constant Field Values
-
MERGED
static final String MERGED
Event type.- See Also:
- Event Types, Constant Field Values
-
REFERENCED
static final String REFERENCED
Event type.- See Also:
- Event Types, Constant Field Values
-
MENTIONED
static final String MENTIONED
Event type.- See Also:
- Event Types, Constant Field Values
-
ASSIGNED
static final String ASSIGNED
Event type.- See Also:
- Event Types, Constant Field Values
-
UNASSIGNED
static final String UNASSIGNED
Event type.- See Also:
- Event Types, Constant Field Values
-
LABELED
static final String LABELED
Event type.- See Also:
- Event Types, Constant Field Values
-
UNLABELED
static final String UNLABELED
Event type.- See Also:
- Event Types, Constant Field Values
-
MILESTONED
static final String MILESTONED
Event type.- See Also:
- Event Types, Constant Field Values
-
DEMILESTONED
static final String DEMILESTONED
Event type.- See Also:
- Event Types, Constant Field Values
-
RENAMED
static final String RENAMED
Event type.- See Also:
- Event Types, Constant Field Values
-
LOCKED
static final String LOCKED
Event type.- See Also:
- Event Types, Constant Field Values
-
UNLOCKED
static final String UNLOCKED
Event type.- See Also:
- Event Types, Constant Field Values
-
HEAD_REF_DELETED
static final String HEAD_REF_DELETED
Event type.- See Also:
- Event Types, Constant Field Values
-
HEAD_REF_RESTORED
static final String HEAD_REF_RESTORED
Event type.- See Also:
- Event Types, Constant Field Values
-
-
Method Detail
-
repo
Repo repo()
Repository we're in.- Returns:
- Repo
-
number
int number()
Get its number.- Returns:
- Issue number
-
-