|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.studio.haup.api.BatchResult.Builder
public static class BatchResult.Builder
Builder class
Method Summary | |
---|---|
void |
addFailed(Set<String> usernames,
SupportedApplication application)
Adds a failed result. |
void |
addFailed(String username,
SupportedApplication application)
Adds a failed result. |
void |
addSuccessful(String username,
SupportedApplication application)
Adds a successful result. |
BatchResult |
build()
Returns a newly created BatchResult. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void addSuccessful(String username, SupportedApplication application)
username
- username, not nullapplication
- application, not nullpublic void addFailed(String username, SupportedApplication application)
username
- username, not nullapplication
- application, not nullpublic void addFailed(Set<String> usernames, SupportedApplication application)
usernames
- a list of usernames, not nullapplication
- application, not nullpublic BatchResult build()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |