@Immutable @Loggable(value=1) public static final class Event.Smart extends Object implements Event
Event.Smart
ASSIGNED, 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 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()
Event
public int number()
Event
@NotNull(message="JSON is never NULL") public javax.json.JsonObject json() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problemCopyright © 2012–2014 jcabi.com. All rights reserved.