Class Feature<T extends ApplicationSession<T>>
java.lang.Object
com.yubico.yubikit.core.application.Feature<T>
- Type Parameters:
T
- The type of Session for which the Feature is relevant.
- Direct Known Subclasses:
Feature.Versioned
A feature for a YubiKey application, which may not be supported by all YubiKeys.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Feature.Versioned<T extends ApplicationSession<T>>
A Feature which has a minimum version which it checks against. -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet a human readable name of the feature.protected String
abstract boolean
isSupportedBy
(Version version) Checks if the Feature is supported by the given Application version.
-
Field Details
-
featureName
-
-
Constructor Details
-
Feature
-
-
Method Details
-
getFeatureName
Get a human readable name of the feature.- Returns:
- the name of the feature
-
isSupportedBy
Checks if the Feature is supported by the given Application version.- Parameters:
version
- the version of the Application to check support for.- Returns:
- true if the Feature is supported, false if not
-
getRequiredMessage
-