@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.
|
boolean |
hasAuthor()
Does it have an author?
|
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(@NotNull(message="evt can\'t be NULL")
Event evt)
evt - Eventpublic boolean hasAuthor()
throws IOException
IOException - If there is any I/O problem@NotNull(message="user is never NULL") public User author() throws IOException
IOException - If there is any I/O problem@NotNull(message="type can\'t be NULL") public String type() throws IOException
IOException - If there is any I/O problem@NotNull(message="URL is never NULL") public URL url() throws IOException
IOException - If there is any I/O problem@NotNull(message="Date is never NULL") public Date createdAt() throws IOException
IOException - If there is any I/O problem@NotNull(message="Repository is never NULL") public Repo repo()
Eventpublic int number()
Event@NotNull(message="JSON is never NULL")
public javax.json.JsonObject json()
throws IOException
JsonReadablejson in interface JsonReadableIOException - If there is any I/O problempublic int compareTo(@NotNull(message="obj can\'t be NULL")
Event obj)
compareTo in interface Comparable<Event>Copyright © 2012–2014 jcabi.com. All rights reserved.