|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StudioLicenseHooks
Methods on this interface are called by JIRA when it makes some of its Licensing decisions. All of these methods will need to be thread safe. These method can be called by multiple threads at the same time. The same method can be called by my multiple threads at the same time. All of these methods will need to be performant. JIRA will not do any caching of the results and will probably call a method with the same arguments multiple times (possibly at the same time).
Method Summary | |
---|---|
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. |
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |