| Modifier and Type | Field and Description |
|---|---|
static String |
CODE_CACHE_RESULT_ID |
static TypedPreference<IQuantity> |
CODE_CACHE_SIZE_INFO_PERCENT |
static TypedPreference<IQuantity> |
CODE_CACHE_SIZE_WARN_PERCENT |
| Constructor and Description |
|---|
CodeCacheRule() |
| 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 static final String CODE_CACHE_RESULT_ID
public static final TypedPreference<IQuantity> CODE_CACHE_SIZE_INFO_PERCENT
public static final TypedPreference<IQuantity> CODE_CACHE_SIZE_WARN_PERCENT
public RunnableFuture<Result> evaluate(IItemCollection items, IPreferenceValueProvider valueProvider)
IRuleevaluate in interface IRuleitems - 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()
IRulegetConfigurationAttributes in interface IRulepublic String getId()
public String getName()
Copyright © 2020. All rights reserved.