public final class UnsupportedJdkVersionRule extends Object implements IRule
This rule will need to be maintained to offer the best suggestions, but even if not maintained, it will still detect decidedly bad versions to use.
Note that this rule will not help ensure that the latest update releases for an LTS is in use, as this would require a more rapid update cycle than can be expected from the core rules project.
Constructor and Description |
---|
UnsupportedJdkVersionRule() |
Modifier and Type | Method and Description |
---|---|
RunnableFuture<Result> |
evaluate(IItemCollection items,
IPreferenceValueProvider valueProvider)
Gets a future representing the result of the evaluation of this rule.
|
Collection<TypedPreference<?>> |
getConfigurationAttributes()
Gets information about which attributes may be configured during rule evaluation.
|
String |
getId() |
String |
getName() |
String |
getTopic() |
public RunnableFuture<Result> evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
IRule
evaluate
in interface IRule
items
- items to evaluatevalueProvider
- Provider of configuration values used for evaluation. The attributes that will be
asked for from the provider should be provided by
IRule.getConfigurationAttributes()
.public Collection<TypedPreference<?>> getConfigurationAttributes()
IRule
getConfigurationAttributes
in interface IRule
public String getId()
public String getName()
Copyright © 2019. All rights reserved.