Interface DronePointContext.MetadataKey<VALUE>

  • Type Parameters:
    VALUE - Type of the value to be stored in the DronePointContext.
    All Known Subinterfaces:
    DeploymentNameKey
    Enclosing interface:
    DronePointContext<DRONE>

    public static interface DronePointContext.MetadataKey<VALUE>
    Utility interface used for unique identification of metadata in DronePointContext.

    Whenever you need to store data into the context, you need to extend this interface and set the VALUE parameter to a type of the metadata you want to store. Then use .class of your newly created interface as a key to store and retrieve data from the context.