com.atlassian.studio.jira.importer.impl.license
Class LicenseStateImpl

java.lang.Object
  extended by com.atlassian.studio.jira.importer.impl.license.LicenseStateImpl
All Implemented Interfaces:
LicenseState

public class LicenseStateImpl
extends Object
implements LicenseState


Constructor Summary
LicenseStateImpl()
           
 
Method Summary
 Access getAccess()
           
 int getActiveAmount()
          This amount might be currently larger than the limit amount since the check is not enforced everywhere (f.e.
 int getLimitAmount()
           
 void setAccess(Access access)
           
 void setActiveAmount(int activeAmount)
           
 void setLimitAmount(int limitAmount)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LicenseStateImpl

public LicenseStateImpl()
Method Detail

getAccess

public Access getAccess()
Specified by:
getAccess in interface LicenseState
Returns:
the access for which the state was retrieved

setAccess

public void setAccess(Access access)

getLimitAmount

public int getLimitAmount()
Specified by:
getLimitAmount in interface LicenseState
Returns:
the amount of licensed (purchased) users for this access level

setLimitAmount

public void setLimitAmount(int limitAmount)

getActiveAmount

public int getActiveAmount()
Description copied from interface: LicenseState
This amount might be currently larger than the limit amount since the check is not enforced everywhere (f.e. import).

Specified by:
getActiveAmount in interface LicenseState
Returns:
the amount of active users

setActiveAmount

public void setActiveAmount(int activeAmount)


Copyright © 2002-2012 Atlassian. All Rights Reserved.