public class EolOperationFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,AbstractOperation> |
operationCache |
| Constructor and Description |
|---|
EolOperationFactory() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
createCache()
Deprecated.
Add methods to the cache in the constructor instead
|
AbstractOperation |
getOperationFor(String name)
Retrieves the exact operation based on the given name.
|
AbstractOperation |
getOptimisedOperation(String name,
Object target,
IModel owningModel,
IEolContext context) |
boolean |
isOverridenDelegate(AbstractOperation operation)
Checks whether the given operation is a DelegateBasedOperation and if so, whether
its delegate operation is unknown (built-in) to this factory.
|
protected final Map<String,AbstractOperation> operationCache
@Deprecated protected void createCache()
public AbstractOperation getOperationFor(String name)
name - The operation name.null if no operation could be found.public AbstractOperation getOptimisedOperation(String name, Object target, IModel owningModel, IEolContext context)
name - The operation nameowningModel - target - context - The contextpublic boolean isOverridenDelegate(AbstractOperation operation)
operation - The operation to test.true if the operation has an unrecognised delegate, false otherwise.Copyright © 2020. All rights reserved.