| Modifier and Type | Field and Description |
|---|---|
private static java.lang.String |
GARBAGE_COLLECTION_RESULT_ID |
static TypedResult<GarbageCollectionsInfo> |
GC_INFO |
private static ContentType<GarbageCollectionsInfo> |
GC_INFO_TYPE |
private static java.util.Map<java.lang.String,RulesToolkit.EventAvailability> |
REQUIRED_EVENTS |
private static java.util.Collection<TypedResult<?>> |
RESULT_ATTRIBUTES |
| Constructor and Description |
|---|
GarbageCollectionInfoRule() |
| Modifier and Type | Method and Description |
|---|---|
java.util.concurrent.RunnableFuture<IResult> |
createEvaluation(IItemCollection items,
IPreferenceValueProvider preferenceValueProvider,
IResultValueProvider dependencyResults)
Gets a future representing the result of the evaluation of this rule.
|
java.util.Collection<TypedPreference<?>> |
getConfigurationAttributes()
Gets information about which attributes may be configured during rule evaluation.
|
java.lang.String |
getId() |
java.lang.String |
getName() |
java.util.Map<java.lang.String,RulesToolkit.EventAvailability> |
getRequiredEvents() |
java.util.Collection<TypedResult<?>> |
getResults()
Gets information about which results may be part of an
IResult instance. |
java.lang.String |
getTopic() |
private static final java.lang.String GARBAGE_COLLECTION_RESULT_ID
private static final java.util.Map<java.lang.String,RulesToolkit.EventAvailability> REQUIRED_EVENTS
private static final ContentType<GarbageCollectionsInfo> GC_INFO_TYPE
public static final TypedResult<GarbageCollectionsInfo> GC_INFO
private static final java.util.Collection<TypedResult<?>> RESULT_ATTRIBUTES
public java.lang.String getId()
public java.lang.String getTopic()
public java.lang.String getName()
public java.util.Map<java.lang.String,RulesToolkit.EventAvailability> getRequiredEvents()
getRequiredEvents in interface IRuleRulesToolkit.EventAvailability this rule
requires for that event typepublic java.util.concurrent.RunnableFuture<IResult> createEvaluation(IItemCollection items, IPreferenceValueProvider preferenceValueProvider, IResultValueProvider dependencyResults)
IRulecreateEvaluation in interface IRuleitems - items to evaluatepreferenceValueProvider - Provider of configuration values used for evaluation. The attributes that will be
asked for from the provider should be provided by
IRule.getConfigurationAttributes().dependencyResults - Provider of results from rules evaluated prior to this rule and which this rule
explicitly depends on via a DependsOn annotation. The attributes that will
be asked for from the provider will be provided by each dependant rule, e.g. via
public static constants.public java.util.Collection<TypedPreference<?>> getConfigurationAttributes()
IRulegetConfigurationAttributes in interface IRulepublic java.util.Collection<TypedResult<?>> getResults()
IRuleIResult instance.getResults in interface IRule