public final class LicenseModel extends Object
Constructor and Description |
---|
LicenseModel(String requiredEntitlement,
String provider,
boolean allowsEvaluation)
Creates an immutable implementation of
LicenseModel |
Modifier and Type | Method and Description |
---|---|
String |
getProvider() |
Optional<String> |
getRequiredEntitlement() |
boolean |
isAllowsEvaluation() |
public LicenseModel(String requiredEntitlement, String provider, boolean allowsEvaluation)
LicenseModel
requiredEntitlement
- the required entitlement. May be null.provider
- the provider of the license.allowsEvaluation
- true if it allows execution with an evaluation license, false otherwise.public Optional<String> getRequiredEntitlement()
public String getProvider()
public boolean isAllowsEvaluation()
Copyright © 2018. All rights reserved.