public class EvaluationStrategies extends Object
EvaluationStrategyobjects. 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 EvaluationStrategy
|Modifier and Type||Method and Description|
Retrieve the EvaluationStrategy registered with the supplied key.
Retrieve the registry key for the given EvaluationStrategy
Add a strategy to the registry and returns the registry key.
public static final EvaluationStrategy get(UUID key)
key- the key
nullif no matching EvaluationStrategy can be found.
public static final UUID getKey(EvaluationStrategy strategy)
strategy- the EvaluationStrategy for which to retrieve the registry key
nullif the supplied strategy is not in the registry.
public static final UUID register(EvaluationStrategy strategy)
strategy- the EvaluationStrategy to register
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.