public final class

UserServiceResultHelper

extends Object
java.lang.Object
   ↳ com.atlassian.jira.bc.user.UserServiceResultHelper

Class Overview

Provides helper methods for creating *Result objects for test. Allows to hide *Result constructors.

Summary

Public Constructors
UserServiceResultHelper()
Public Methods
final static UserService.CreateUserValidationResult getCreateUserValidationResult(ErrorCollection errorCollection)
final static UserService.CreateUserValidationResult getCreateUserValidationResult()
final static UserService.CreateUserValidationResult getCreateUserValidationResult(String username, String password, String email, String fullname)
final static UserService.DeleteUserValidationResult getDeleteUserValidationResult()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public UserServiceResultHelper ()

Public Methods

public static final UserService.CreateUserValidationResult getCreateUserValidationResult (ErrorCollection errorCollection)

public static final UserService.CreateUserValidationResult getCreateUserValidationResult ()

public static final UserService.CreateUserValidationResult getCreateUserValidationResult (String username, String password, String email, String fullname)

public static final UserService.DeleteUserValidationResult getDeleteUserValidationResult ()