com.atlassian.studio.haup.pageobjects.access.counts
Interface RemainingAccessSection

All Known Implementing Classes:
RemainingAccessSectionImpl

public interface RemainingAccessSection

PageObject section which represents the "remaining accesses" per application.


Method Summary
 int getMaximum(SupportedApplication application)
           
 int getRemaining(SupportedApplication application)
          Returns the number of remaining accesses for the application.
 String getRemainingText(SupportedApplication application)
          Returns the text of the remaining access label for the application
 boolean hasUnlimitedLicense(SupportedApplication application)
          Returns whether the given application has unlimited license
 boolean isDisabled(SupportedApplication application)
           
 boolean isRemainingHidden(SupportedApplication application)
           
 

Method Detail

getRemaining

int getRemaining(SupportedApplication application)
Returns the number of remaining accesses for the application.

Parameters:
application - the application to check for remaining access. Must not be null.
Returns:
an object representing the number of remaining accesses and the text of the label
Throws:
IllegalArgumentException - if application is null

getRemainingText

String getRemainingText(SupportedApplication application)
Returns the text of the remaining access label for the application

Parameters:
application - the application to check for remaining access. Must not be null.
Returns:
text of the remaining access label for the application
Throws:
IllegalArgumentException - if the application is null

hasUnlimitedLicense

boolean hasUnlimitedLicense(SupportedApplication application)
Returns whether the given application has unlimited license

Parameters:
application - the application to check for unlimited license. Must not be null.
Returns:
true if the application has unlimited license

getMaximum

int getMaximum(SupportedApplication application)
Parameters:
application - the application to retrieve license info from. Must not be null.
Returns:
the maximum number of users that can be licensed for the specified app

isDisabled

boolean isDisabled(SupportedApplication application)

isRemainingHidden

boolean isRemainingHidden(SupportedApplication application)


Copyright © 2002-2012 Atlassian. All Rights Reserved.