Package edu.wpi.grip.core
Class Palette
- java.lang.Object
-
- edu.wpi.grip.core.Palette
-
@Singleton public class Palette extends java.lang.Object
The palette is a library of operations that can be added as steps in thePipeline
.
-
-
Constructor Summary
Constructors Constructor Description Palette()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<OperationMetaData>
getOperationByName(java.lang.String name)
java.util.Collection<OperationMetaData>
getOperations()
void
onOperationAdded(OperationAddedEvent event)
-
-
-
Method Detail
-
onOperationAdded
public void onOperationAdded(OperationAddedEvent event)
-
getOperations
public java.util.Collection<OperationMetaData> getOperations()
- Returns:
- A collection of all available operations.
-
getOperationByName
public java.util.Optional<OperationMetaData> getOperationByName(java.lang.String name)
- Returns:
- The operation with the specified unique name.
-
-