@Immutable @Loggable(value=1) public static final class Event.Smart extends Object implements Event
Event.SmartASSIGNED, CLOSED, MENTIONED, MERGED, REFERENCED, REOPENED, SUBSCRIBED| Constructor and Description |
|---|
Event.Smart(Event evt)
Public ctor.
|
| Modifier and Type | Method and Description |
|---|---|
User |
author()
Get its author.
|
int |
compareTo(Event obj) |
Date |
createdAt()
When this issue was created.
|
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
int |
number()
Get its number.
|
Repo |
repo()
Repository we're in.
|
String |
type()
Get its type.
|
URL |
url()
Get its URL.
|
public Event.Smart(Event evt)
evt - Eventpublic User author() throws IOException
IOException - If there is any I/O problempublic String type() throws IOException
IOException - If there is any I/O problempublic URL url() throws IOException
IOException - If there is any I/O problempublic Date createdAt() throws IOException
IOException - If there is any I/O problempublic int number()
Eventpublic javax.json.JsonObject json()
throws IOException
JsonReadablejson in interface JsonReadableIOException - If there is any I/O problempublic int compareTo(Event obj)
compareTo in interface Comparable<Event>Copyright © 2012–2014 jcabi.com. All rights reserved.