Package step.plugins.licensing
Class StepLicenseNotificationHandler
- java.lang.Object
-
- step.plugins.licensing.StepLicenseNotificationHandler
-
- All Implemented Interfaces:
ch.exense.licensing.client.LicenseNotificationHandler
public class StepLicenseNotificationHandler extends java.lang.Object implements ch.exense.licensing.client.LicenseNotificationHandler
-
-
Constructor Summary
Constructors Constructor Description StepLicenseNotificationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onGrantAppeared(ch.exense.licensing.model.ResourceGrant grant)
void
onGrantDisappeared(ch.exense.licensing.model.ResourceGrant grant)
void
onGrantExpired(ch.exense.licensing.model.ResourceGrant grant)
void
onGrantExpiring(ch.exense.licensing.model.ResourceGrant grant, ch.exense.licensing.client.LicenseNotificationHandler.Expiry expiry)
void
onIncorrectBaseContext(ch.exense.licensing.model.ResourceGrant grant, ch.exense.licensing.model.LicensingContext expectedBaseContext)
void
onIncorrectSignature(ch.exense.licensing.model.ResourceGrant grant)
void
onLicensingException(ch.exense.licensing.LicensingException exception)
void
onUnknownResourceId(ch.exense.licensing.model.ResourceId resourceId)
void
onUnlicensedUsage(ch.exense.licensing.model.ResourceUsage usage)
-
-
-
Method Detail
-
onGrantAppeared
public void onGrantAppeared(ch.exense.licensing.model.ResourceGrant grant)
- Specified by:
onGrantAppeared
in interfacech.exense.licensing.client.LicenseNotificationHandler
-
onGrantDisappeared
public void onGrantDisappeared(ch.exense.licensing.model.ResourceGrant grant)
- Specified by:
onGrantDisappeared
in interfacech.exense.licensing.client.LicenseNotificationHandler
-
onGrantExpired
public void onGrantExpired(ch.exense.licensing.model.ResourceGrant grant)
- Specified by:
onGrantExpired
in interfacech.exense.licensing.client.LicenseNotificationHandler
-
onIncorrectBaseContext
public void onIncorrectBaseContext(ch.exense.licensing.model.ResourceGrant grant, ch.exense.licensing.model.LicensingContext expectedBaseContext)
- Specified by:
onIncorrectBaseContext
in interfacech.exense.licensing.client.LicenseNotificationHandler
-
onIncorrectSignature
public void onIncorrectSignature(ch.exense.licensing.model.ResourceGrant grant)
- Specified by:
onIncorrectSignature
in interfacech.exense.licensing.client.LicenseNotificationHandler
-
onUnknownResourceId
public void onUnknownResourceId(ch.exense.licensing.model.ResourceId resourceId)
- Specified by:
onUnknownResourceId
in interfacech.exense.licensing.client.LicenseNotificationHandler
-
onLicensingException
public void onLicensingException(ch.exense.licensing.LicensingException exception)
- Specified by:
onLicensingException
in interfacech.exense.licensing.client.LicenseNotificationHandler
-
onGrantExpiring
public void onGrantExpiring(ch.exense.licensing.model.ResourceGrant grant, ch.exense.licensing.client.LicenseNotificationHandler.Expiry expiry)
- Specified by:
onGrantExpiring
in interfacech.exense.licensing.client.LicenseNotificationHandler
-
onUnlicensedUsage
public void onUnlicensedUsage(ch.exense.licensing.model.ResourceUsage usage)
- Specified by:
onUnlicensedUsage
in interfacech.exense.licensing.client.LicenseNotificationHandler
-
-