|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StructureJobFeedback
StructureJobFeedback allows communication between job owner, job itself and the visual
components that display the job information.
If you know jobId, you can access its feedback using StructureJobManager.getFeedback(java.lang.Long) method.
This feature is under-developed yet. This interface is likely to change soon as we provide more and better ways to report progress and other information to the user.
| Method Summary | |
|---|---|
StructureJobFeedback |
addButton(String buttonText,
String link)
Adds a button to the feedback screen that brings the user to the specified link. |
StructureJobFeedback |
addManagingUser(com.atlassian.crowd.embedded.api.User user)
By default, only the owner of the job may see the feedback. |
boolean |
isVisibleTo(com.atlassian.crowd.embedded.api.User user)
Checks if this feedback is visible to the specified user. |
StructureJobFeedback |
setI18nFactory(com.atlassian.jira.util.I18nHelper.BeanFactory i18nFactory)
|
StructureJobFeedback |
setJobName(String key,
Object... arguments)
Sets the name of the job. |
| Method Detail |
|---|
StructureJobFeedback addButton(String buttonText,
String link)
buttonText - text on the buttonlink - link address
StructureJobFeedback setJobName(String key,
Object... arguments)
key - i18n key of the job namearguments - arguments for creating a text message
StructureJobFeedback setI18nFactory(com.atlassian.jira.util.I18nHelper.BeanFactory i18nFactory)
StructureJobFeedback addManagingUser(com.atlassian.crowd.embedded.api.User user)
user - the user that is allowed to view the feedback
boolean isVisibleTo(com.atlassian.crowd.embedded.api.User user)
user - the user to check
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||