public interface StudioLicenseHooks
| Modifier and Type | Method and Description |
|---|---|
boolean |
canActivateNumberOfUsers(int numUsers,
com.atlassian.util.concurrent.Function<Integer,Boolean> method)
Called when a call to
UserUtil.canActivateNumberOfUsers(int) is made. |
boolean |
canActivateUsers(Collection<String> userNames,
com.atlassian.util.concurrent.Function<Collection<String>,Boolean> method)
Called when a call to
UserUtil.canActivateUsers(java.util.Collection) is
made. |
void |
clearActiveUserCount(com.atlassian.util.concurrent.Function<Void,Void> method)
Called when a call to
UserUtil.clearActiveUserCount() is made. |
boolean |
hasExceededUserLimit(com.atlassian.util.concurrent.Function<Void,Boolean> method)
Called when a call to
UserUtil.hasExceededUserLimit() is made. |
void clearActiveUserCount(com.atlassian.util.concurrent.Function<Void,Void> method)
UserUtil.clearActiveUserCount() is made. JIRA's
default implementation of this method can be called by invoking the function passed to the method.method - function that can be used to invoke JIRAs default implementation of this method.boolean hasExceededUserLimit(com.atlassian.util.concurrent.Function<Void,Boolean> method)
UserUtil.hasExceededUserLimit() is made. JIRA's
default implementation of this method can be called by invoking the function passed to the method.method - function that can be used to invoke JIRAs default implementation of this method.UserUtil.hasExceededUserLimit()}.boolean canActivateNumberOfUsers(int numUsers,
com.atlassian.util.concurrent.Function<Integer,Boolean> method)
UserUtil.canActivateNumberOfUsers(int) is made. JIRA's
default implementation of this method can be called by invoking the function passed to the method.numUsers - see UserUtil.canActivateNumberOfUsers(int)method - function that can be used to invoke JIRAs default implementation of this method.UserUtil.canActivateNumberOfUsers(int)boolean canActivateUsers(Collection<String> userNames, com.atlassian.util.concurrent.Function<Collection<String>,Boolean> method)
UserUtil.canActivateUsers(java.util.Collection) is
made. JIRA's default implementation of this method can be called by invoking the function passed to the method.userNames - see UserUtil.canActivateUsers(java.util.Collection)method - function that can be used to invoke JIRAs default implementation of this method.UserUtil.canActivateUsers(java.util.Collection)Copyright © 2002-2015 Atlassian. All Rights Reserved.