public class LicenseSelectionStrategy extends Object
| Constructor and Description |
|---|
LicenseSelectionStrategy()
Creates a new LicenseSelectionStrategy with the default longest expiry strategy.
|
LicenseSelectionStrategy(Function<List<License>,License> selectionFunction)
Creates a new LicenseSelectionStrategy with the provided selection function.
|
| Modifier and Type | Method and Description |
|---|---|
License |
selectLicense(List<License> licenses)
Selects a license from the provided list using the configured selection function.
|