Package com.atlassian.bitbucket.user
Class AbstractApplicationUserVisitor<T>
java.lang.Object
com.atlassian.bitbucket.user.AbstractApplicationUserVisitor<T>
- All Implemented Interfaces:
ApplicationUserVisitor<T>
public abstract class AbstractApplicationUserVisitor<T>
extends Object
implements ApplicationUserVisitor<T>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected T
defaultValue
(ApplicationUser user) Convenience method that allows implementors to provide a single fallback return valuevisit
(ApplicationUser user) visit
(DetailedUser user) visit
(ServiceUser user)
-
Constructor Details
-
AbstractApplicationUserVisitor
public AbstractApplicationUserVisitor()
-
-
Method Details
-
visit
- Specified by:
visit
in interfaceApplicationUserVisitor<T>
-
visit
- Specified by:
visit
in interfaceApplicationUserVisitor<T>
-
visit
- Specified by:
visit
in interfaceApplicationUserVisitor<T>
-
defaultValue
Convenience method that allows implementors to provide a single fallback return value- Parameters:
user
- the user- Returns:
- the default value
- Since:
- 4.3
-