public class AddReviewerResult extends Object
Modifier and Type | Field and Description |
---|---|
List<AccountInfo> |
ccs
List of accounts CCed on the change.
|
Boolean |
confirm
Non-null and true if the reviewer cannot be added without explicit confirmation.
|
String |
error
If non-null, a string describing why the reviewer could not be added.
|
String |
input
The identifier of an account or group that was to be added as a reviewer.
|
List<ReviewerInfo> |
reviewers
List of individual reviewers added to the change.
|
Constructor and Description |
---|
AddReviewerResult(String input)
Constructs a partially initialized result for the given reviewer.
|
AddReviewerResult(String reviewer,
boolean confirm)
Constructs a needs-confirmation result for the given account.
|
AddReviewerResult(String reviewer,
String error)
Constructs an error result for the given account.
|
public String input
public String error
public Boolean confirm
public List<ReviewerInfo> reviewers
public List<AccountInfo> ccs
public AddReviewerResult(String input)
input
- String identifier of an account or group, from user requestpublic AddReviewerResult(String reviewer, String error)
reviewer
- String identifier of an account or grouperror
- Error messagepublic AddReviewerResult(String reviewer, boolean confirm)
confirm
- Whether confirmation is needed.