|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.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 | |
|---|---|
boolean |
equals(Object o)
|
ErrorCollection |
getErrorCollection()
Returns error collection, never null |
I18nHelper |
getI18nBean()
Get an I18nHelper for localising text. |
User |
getUser()
Returns user, can be null |
int |
hashCode()
|
String |
toString()
Prints username and error collection |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, 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 - user| Method Detail |
|---|
public ErrorCollection getErrorCollection()
getErrorCollection in interface JiraServiceContextpublic User getUser()
getUser in interface JiraServiceContextpublic I18nHelper getI18nBean()
JiraServiceContext
getI18nBean in interface JiraServiceContextpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||