public class

OnDemandLicenseManagerNoOpImpl

extends Object
implements OnDemandLicenseManager
java.lang.Object
   ↳ com.atlassian.confluence.ondemand.OnDemandLicenseManagerNoOpImpl

Class Overview

No Op implementation of the OnDemandLicenseManager, this implemenation is overridden by the hosted component overrides in on demand.

Summary

Public Constructors
OnDemandLicenseManagerNoOpImpl()
Public Methods
boolean hasLicensedAccess(String username)
Always return true when not running in onDemand
boolean isConfluenceEnabled()
Always return true when not running in onDemand
boolean isOnDemand()
false when not override by onDemand
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.confluence.ondemand.OnDemandLicenseManager

Public Constructors

public OnDemandLicenseManagerNoOpImpl ()

Public Methods

public boolean hasLicensedAccess (String username)

Always return true when not running in onDemand

Returns
  • true if the user is licensed to access confluence.

public boolean isConfluenceEnabled ()

Always return true when not running in onDemand

Returns
  • true if confluence is enabled

public boolean isOnDemand ()

false when not override by onDemand