public class EvaluationStrategies extends Object
EvaluationStrategy
objects. The internal registry uses soft references to allow
entries to be garbage-collected when no longer used. Currently, the primary purpose of this is to support
(de)serialization of objects (over the lifetime of the VM) that depend on an EvaluationStrategyModifier and Type | Method and Description |
---|---|
static EvaluationStrategy |
get(UUID key)
Retrieve the EvaluationStrategy registered with the supplied key.
|
static UUID |
getKey(EvaluationStrategy strategy)
Retrieve the registry key for the given EvaluationStrategy
|
static UUID |
register(EvaluationStrategy strategy)
Add a strategy to the registry and returns the registry key.
|
public static final EvaluationStrategy get(UUID key)
key
- the keynull
if no matching EvaluationStrategy can be found.public static final UUID getKey(EvaluationStrategy strategy)
strategy
- the EvaluationStrategy for which to retrieve the registry keynull
if the supplied
strategy is not in the registry.public static final UUID register(EvaluationStrategy strategy)
strategy
- the EvaluationStrategy to registerCopyright © 2015-2020 Eclipse Foundation. All Rights Reserved.