public abstract class Service extends Object
| Constructor and Description |
|---|
Service() |
| Modifier and Type | Method and Description |
|---|---|
abstract User |
getCurrentUser()
Returns the current user.
|
abstract User |
getUser(String name)
Returns the Bitbucket user identified by a name.
|
User |
getUser(UUID uuid)
Returns the Bitbucket user identified by a UUID.
|
abstract boolean |
isAuthenticated()
Indicates whether this object is authenticated or not.
|
public abstract boolean isAuthenticated()
true if this object is authenticated, or
false otherwisepublic abstract User getCurrentUser() throws IOException
null if this object is not
authenticatedIOException - if an I/O error has occurredpublic abstract User getUser(String name) throws IOException
name - name of a Bitbucket userIOException - if an I/O error has occurredpublic User getUser(UUID uuid) throws IOException
uuid - UUID of a Bitbucket userIOException - if an I/O error has occurredCopyright © 2015 Nishimura Software Studio. All rights reserved.