Class HelloWorldPlugin

java.lang.Object
org.gcube.vremanagement.executor.plugin.Plugin
org.gcube.vremanagement.helloworld.HelloWorldPlugin
All Implemented Interfaces:
org.gcube.vremanagement.executor.plugin.PluginDefinition

public class HelloWorldPlugin extends org.gcube.vremanagement.executor.plugin.Plugin
Author:
Luca Frosini (ISTI - CNR)
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Configuration parameter name for sleep time in milliseconds

    Fields inherited from class org.gcube.vremanagement.executor.plugin.Plugin

    DESCRIPTION_PROPERTY, GROUP_PROPERTY, iterationNumber, NAME_PROPERTY, percentageSetter, PLUGIN_PROPERTIES_SUFFIX_FILENAME, properties, uuid, VERSION_PROPERTY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for HelloWorldPlugin
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    protected void

    Methods inherited from class org.gcube.vremanagement.executor.plugin.Plugin

    getDescription, getGroup, getIterationNumber, getName, getUUID, getVersion, setIterationNumber, setPercentageEvolution, setPercentageSetter, setUUID, stop

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SLEEP_TIME

      public static final String SLEEP_TIME
      Configuration parameter name for sleep time in milliseconds
      See Also:
  • Constructor Details

    • HelloWorldPlugin

      public HelloWorldPlugin()
      Default constructor for HelloWorldPlugin
  • Method Details

    • launch

      public void launch(Map<String,Object> inputs) throws Exception
      Specified by:
      launch in class org.gcube.vremanagement.executor.plugin.Plugin
      Throws:
      Exception
    • onStop

      protected void onStop() throws Exception
      Specified by:
      onStop in class org.gcube.vremanagement.executor.plugin.Plugin
      Throws:
      Exception
    • getSupportedCapabilities

      public Map<String,String> getSupportedCapabilities()
      Specified by:
      getSupportedCapabilities in interface org.gcube.vremanagement.executor.plugin.PluginDefinition
      Overrides:
      getSupportedCapabilities in class org.gcube.vremanagement.executor.plugin.Plugin