com.atlassian.jira.bc.group
Class GroupService.BulkEditGroupValidationResult

java.lang.Object
  extended by com.atlassian.jira.bc.group.GroupService.BulkEditGroupValidationResult
Enclosing interface:
GroupService

public static class GroupService.BulkEditGroupValidationResult
extends Object

This class is used for a return type for edit group validation. If there is a problem with validation that is caused by invalid users then the list of invalid users will be contained in this result.

Since:
v3.12

Constructor Summary
GroupService.BulkEditGroupValidationResult(boolean success)
           
GroupService.BulkEditGroupValidationResult(Collection usersAlreadyInAGroup, boolean success)
           
 
Method Summary
 Collection getInvalidChildren()
          Returns the users who caused the result to be a failure.
 boolean isSuccess()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupService.BulkEditGroupValidationResult

public GroupService.BulkEditGroupValidationResult(Collection usersAlreadyInAGroup,
                                                  boolean success)

GroupService.BulkEditGroupValidationResult

public GroupService.BulkEditGroupValidationResult(boolean success)
Method Detail

getInvalidChildren

public Collection getInvalidChildren()
Returns the users who caused the result to be a failure.

Returns:
a collection of String userNames.
Since:
v3.12

isSuccess

public boolean isSuccess()
Returns:
true if the validation is a success, false otherwise
Since:
v3.12


Copyright © 2002-2011 Atlassian. All Rights Reserved.