com.atlassian.studio.jira.license
Class DefaultUserCounter
java.lang.Object
com.atlassian.studio.jira.license.DefaultUserCounter
- All Implemented Interfaces:
- UserCounter
public class DefaultUserCounter
- extends Object
- implements UserCounter
Implementation of the user counter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
STUDIO_SYSTEM_USERS
public static final Set<String> STUDIO_SYSTEM_USERS
DefaultUserCounter
public DefaultUserCounter(UserApplicationAccessService userApplicationAccessService)
getUserCount
public StudioUserCount getUserCount()
- Get the user count
- Specified by:
getUserCount
in interface UserCounter
- Returns:
- The user count object
getUserCountWithUpdatedLicense
public StudioUserCount getUserCountWithUpdatedLicense(StudioUserCount studioUserCount)
- Returns a user count but with the updated license. This basically ensures that the license is up to date.
- Specified by:
getUserCountWithUpdatedLicense
in interface UserCounter
Copyright © 2002-2012 Atlassian. All Rights Reserved.