public interface DroneContext
DronePointContext for drone points. It also allows to find drone
points based on given filters.| Modifier and Type | Method and Description |
|---|---|
<DRONE> boolean |
contains(DronePoint<DRONE> dronePoint)
Returns true if
DronePointContext is already created for specified drone point. |
<DRONE> FilterableResult<DRONE> |
find(Class<DRONE> droneClass)
Returns a
FilterableResult of injection points with drone type that can be cast to the given type. |
<DRONE> DronePointContext<DRONE> |
get(DronePoint<DRONE> dronePoint)
Returns an instance of
DronePointContext for specified drone point, creating it if it does not exist. |
<C extends DroneConfiguration<C>> |
getGlobalDroneConfiguration(Class<C> configurationClass)
Deprecated.
|
<DRONE> void |
remove(DronePoint<DRONE> dronePoint)
Removes current instance of
DronePointContext for specified drone point. |
void |
setGlobalDroneConfiguration(DroneConfiguration<?> configuration)
Deprecated.
|
@Deprecated <C extends DroneConfiguration<C>> C getGlobalDroneConfiguration(Class<C> configurationClass)
@Deprecated void setGlobalDroneConfiguration(DroneConfiguration<?> configuration)
<DRONE> DronePointContext<DRONE> get(DronePoint<DRONE> dronePoint)
DronePointContext for specified drone point, creating it if it does not exist.<DRONE> boolean contains(DronePoint<DRONE> dronePoint)
DronePointContext is already created for specified drone point.<DRONE> void remove(DronePoint<DRONE> dronePoint)
DronePointContext for specified drone point. If it was not created,
does nothing.<DRONE> FilterableResult<DRONE> find(Class<DRONE> droneClass)
FilterableResult of injection points with drone type that can be cast to the given type.
Using the Object.class as the type, it returns all injection points stored.Copyright © 2016 JBoss by Red Hat. All rights reserved.