Interface ServiceUserClassifier

All Known Implementing Classes:
ServiceUserClassifier.NoOp, ServiceUserClassifierImpl

public interface ServiceUserClassifier
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static class 
    An instance that can be used for testing and will consider no user to be a Service User.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Name of the Service Users group used by this class to determine whether an account is a service user; if an account is a part of this group, that account is considered a service user.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the given user is considered a Service User user.
  • Field Details

    • SERVICE_USERS

      static final String SERVICE_USERS
      Name of the Service Users group used by this class to determine whether an account is a service user; if an account is a part of this group, that account is considered a service user.
      See Also:
  • Method Details

    • isServiceUser

      boolean isServiceUser(Account.Id user)
      Returns true if the given user is considered a Service User user.