-
public interface CapabilitiesInterface for capturing the capabilities of an Annot8 component
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Stream<Capability>creates()Describes the things (e.g.default <T extends Capability>
Stream<T>creates(Class<T> type)Helper method for filteringcreates()to a specific type of CapabilityStream<Capability>deletes()Describes the things (e.g.default <T extends Capability>
Stream<T>deletes(Class<T> type)Helper method for filteringdeletes()to a specific type of CapabilityStream<Capability>processes()Describes the things (e.g.default <T extends Capability>
Stream<T>processes(Class<T> type)Helper method for filteringprocesses()to a specific type of Capability
-
-
-
Method Detail
-
creates
Stream<Capability> creates()
Describes the things (e.g. content, annotations, groups) created by a component- Returns:
- Stream of
Capabilityobjects describing what is created
-
creates
default <T extends Capability> Stream<T> creates(Class<T> type)
Helper method for filteringcreates()to a specific type of Capability- Type Parameters:
T- Class extending Capability- Parameters:
type- The type of capability to filter to- Returns:
- Stream of
Capabilityobjects describing what is created
-
processes
Stream<Capability> processes()
Describes the things (e.g. content, annotations, groups) processed by a component- Returns:
- Stream of
Capabilityobjects describing what is processed
-
processes
default <T extends Capability> Stream<T> processes(Class<T> type)
Helper method for filteringprocesses()to a specific type of Capability- Type Parameters:
T- Class extending Capability- Parameters:
type- The type of capability to filter to- Returns:
- Stream of
Capabilityobjects describing what is processed
-
deletes
Stream<Capability> deletes()
Describes the things (e.g. content, annotations, groups) deleted by a component- Returns:
- Stream of
Capabilityobjects describing what is deleted
-
deletes
default <T extends Capability> Stream<T> deletes(Class<T> type)
Helper method for filteringdeletes()to a specific type of Capability- Type Parameters:
T- Class extending Capability- Parameters:
type- The type of capability to filter to- Returns:
- Stream of
Capabilityobjects describing what is deleted
-
-