Package ch.nolix.core.license
Klasse License
java.lang.Object
ch.nolix.core.license.License
- Alle implementierten Schnittstellen:
INameHolder
- Bekannte direkte Unterklassen:
Nolix2024Pro
- Version:
- 2017-05-16
- Autor:
- Silvan Wyss
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected abstract booleanacceptsFilteredKey(String filteredKey) final voidActivates the currentLicensewith the given key.final voidfinal StringgetName()final booleanVon Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden ch.nolix.coreapi.attributeapi.mandatoryattributeapi.INameHolder
getNameInQuotes, hasName, hasSameNameAs
-
Konstruktordetails
-
License
public License()
-
-
Methodendetails
-
activate
Activates the currentLicensewith the given key.- Parameter:
key-- Löst aus:
InvalidArgumentException- if the currentLicenseis already activated.UnacceptedKeyException- if the currentLicensedoes no accepts the given key.
-
assetIsActivated
public final void assetIsActivated()- Löst aus:
InvalidArgumentException- if the currentLicenseis not activated.
-
getName
- Angegeben von:
getNamein SchnittstelleINameHolder- Gibt zurück:
- the name of the current
INameHolder.
-
isActivated
public final boolean isActivated()- Gibt zurück:
- true if the current
Licenseis activated.
-
acceptsFilteredKey
- Parameter:
filteredKey-- Gibt zurück:
- true if the current
Licenseaccepts the given filteredKey.
-