|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.jira.bc.JiraServiceContextImpl
public class JiraServiceContextImpl
Default implementation of the JiraServiceContext.
Constructor Summary | |
---|---|
JiraServiceContextImpl(User user)
Instantiates this class with given user and new empty error collection |
|
JiraServiceContextImpl(User user,
ErrorCollection errorCollection)
Instantiates this class with user and error collection |
Method Summary | |
---|---|
ErrorCollection |
getErrorCollection()
Returns error collection, never null |
User |
getUser()
Returns user, can be null |
String |
toString()
Prints username and error collection |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JiraServiceContextImpl(User user, ErrorCollection errorCollection) throws IllegalArgumentException
user
- usererrorCollection
- error collection
IllegalArgumentException
- if error collection is nullpublic JiraServiceContextImpl(User user)
user
- userMethod Detail |
---|
public ErrorCollection getErrorCollection()
getErrorCollection
in interface JiraServiceContext
public User getUser()
getUser
in interface JiraServiceContext
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |