@Immutable @Loggable(value=1) public static final class Status.Smart extends Object implements Status
Status.Smart, Status.State
Modifier and Type | Method and Description |
---|---|
Commit |
commit()
Associated commit.
|
String |
context()
Get context.
|
Date |
createdAt()
When this commit status was created.
|
User |
creator()
Get its creator.
|
String |
description()
Get description.
|
int |
identifier()
Get its ID number.
|
javax.json.JsonObject |
json()
Describe it in a JSON object.
|
Status.State |
state()
Get state.
|
com.google.common.base.Optional<String> |
targetUrl()
Get URL.
|
Date |
updatedAt()
When this commit status was updated.
|
String |
url()
Get its URL.
|
public Smart(Status stat)
stat
- Statuspublic Status.State state() throws IOException
IOException
- If there is an I/O problempublic com.google.common.base.Optional<String> targetUrl() throws IOException
IOException
- If there is an I/O problempublic String description() throws IOException
IOException
- If there is an I/O problempublic String context() throws IOException
IOException
- If there is an I/O problempublic Date createdAt() throws IOException
IOException
- If there is any I/O problempublic Date updatedAt() throws IOException
IOException
- If there is any I/O problempublic User creator() throws IOException
IOException
- If there is any I/O problempublic int identifier()
Status
identifier
in interface Status
public javax.json.JsonObject json() throws IOException
JsonReadable
json
in interface JsonReadable
IOException
- If there is any I/O problemCopyright © 2012–2018 jcabi.com. All rights reserved.