public class OperationRegistry extends Object
Modifier and Type | Method and Description |
---|---|
List<Operation> |
getAfter(Operation operation)
Get the operations that need to be performed after an operation.
|
List<Operation> |
getBefore(Operation operation)
Get the operations that need to be performed before an operation.
|
static OperationRegistry |
getInstance()
Getter for instance.
|
Operation |
getOperation(String name)
Get an operation by name.
|
Collection<Operation> |
getOperations()
Get a list of all operations.
|
List<Library> |
getRootLibraries()
Get the root libraries.
|
List<Operation> |
getRootOperations()
Get the root operations.
|
void |
registerLibrary(Class<? extends LibraryImplementation> c)
Register the implementation of a library.
|
void |
registerOperation(Class<? extends OperationImplementation> c)
Register the implementation of an operation.
|
public List<Operation> getBefore(Operation operation)
public List<Operation> getAfter(Operation operation)
public void registerOperation(Class<? extends OperationImplementation> c)
public void registerLibrary(Class<? extends LibraryImplementation> c)
public static OperationRegistry getInstance()
public Collection<Operation> getOperations()
Copyright © 2019. All rights reserved.