Interface DroneContext


  • public interface DroneContext
    Context that stores global configuration and DronePointContext for drone points. It also allows to find drone points based on given filters.
    Author:
    Karel Piwko
    • Method Detail

      • getGlobalDroneConfiguration

        @Deprecated
        <C extends DroneConfiguration<C>> C getGlobalDroneConfiguration​(Class<C> configurationClass)
        Deprecated.
        Returns drone extension configuration. This method is deprecated and will soon be replaced.
      • setGlobalDroneConfiguration

        @Deprecated
        void setGlobalDroneConfiguration​(DroneConfiguration<?> configuration)
        Deprecated.
        Sets drone extension configuration. This method is deprecated and will soon be replaced.
      • contains

        <DRONE> boolean contains​(DronePoint<DRONE> dronePoint)
        Returns true if DronePointContext is already created for specified drone point.
      • remove

        <DRONE> void remove​(DronePoint<DRONE> dronePoint)
        Removes current instance of DronePointContext for specified drone point. If it was not created, does nothing.
      • find

        <DRONE> FilterableResult<DRONE> find​(Class<DRONE> droneClass)
        Returns a 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.