Class RunnablePlugin<T extends org.gcube.vremanagement.executor.plugin.Plugin>

java.lang.Object
org.gcube.vremanagement.executor.pluginmanager.RunnablePlugin<T>
All Implemented Interfaces:
Runnable

public class RunnablePlugin<T extends org.gcube.vremanagement.executor.plugin.Plugin> extends Object implements Runnable
Author:
Luca Frosini (ISTI - CNR)
  • Field Details

    • CLIENT_ID

      public static final String CLIENT_ID
      The key, in the configuration of a plugin, of the identifier of its client.
      See Also:
    • CLIENT_SECRET

      public static final String CLIENT_SECRET
      The key, in the configuration of a plugin, of the secret of its client.
      See Also:
    • plugin

      protected final T extends org.gcube.vremanagement.executor.plugin.Plugin plugin
    • inputs

      protected final Map<String,Object> inputs
    • uuid

      protected final UUID uuid
    • iterationNumber

      protected final int iterationNumber
    • pluginStateNotifications

      protected final List<org.gcube.vremanagement.executor.plugin.PluginStateNotification> pluginStateNotifications
    • ownerId

      protected final String ownerId
    • context

      protected final String context
      The Context the task runs in.
    • nodeSecret

      protected final org.gcube.common.security.secrets.Secret nodeSecret
      The secret of the node in the Context of the task: the service does its own work with it.
    • pluginSecret

      protected volatile org.gcube.common.security.secrets.Secret pluginSecret
      The secret the plugin runs with, see obtainPluginSecret(Map); set when the execution starts.
    • actualStateEvolution

      protected org.gcube.vremanagement.executor.plugin.PluginStateEvolution actualStateEvolution
  • Constructor Details

    • RunnablePlugin

      public RunnablePlugin(T plugin, Map<String,Object> inputs, UUID uuid, int iterationNumber, String ownerId, String context, List<org.gcube.vremanagement.executor.plugin.PluginStateNotification> pluginStateNotifications)
  • Method Details