Interface IridaPlugin

  • All Superinterfaces:
    org.pf4j.ExtensionPoint

    public interface IridaPlugin
    extends org.pf4j.ExtensionPoint
    Interface describing the methods which must be exposed by an IRIDA pipeline plugin
    • Field Detail

      • PLUGIN_API_VERSION

        static final java.lang.String PLUGIN_API_VERSION
        Defines the particular IRIDA Plugin API version.

        Please use this version in your plugin's pom.xml file as:

             <Plugin-Requires>1.0.0</Plugin-Requires>
         

        If there are breaking changes to the IRIDA Plugin API this version will change, giving you an indication of when to update your plugin.

        See Also:
        Constant Field Values
    • Method Detail

      • getDefaultWorkflowUUID

        java.util.UUID getDefaultWorkflowUUID()
        Gets the UUID of the default implementation of the workflow to use.
        Returns:
        The UUID of the workflow.
      • getAnalysisViewer

        default java.util.Optional<java.lang.String> getAnalysisViewer()
        Get the name of the viewer to use for this pipeline
        Returns:
        The name of the viewer if it's available
      • getBackgroundColor

        default java.util.Optional<java.awt.Color> getBackgroundColor()
        Gets an optional Color object used to modify the background color in the "Select a Pipeline" page.
        Returns:
        The color for the pipeline in the "Select a Pipeline" page.
      • getTextColor

        default java.util.Optional<java.awt.Color> getTextColor()
        Gets an optional Color object used to modify the text color in the "Select a Pipeline" page.
        Returns:
        The text color for the pipeline in the "Select a Pipeline" page.
      • getWorkflowsPath

        default java.nio.file.Path getWorkflowsPath()
                                             throws IridaPluginException
        Gets a Path to a directory containing the workflows to load.
        Returns:
        The workflows path.
        Throws:
        IridaPluginException - If there was an exception getting the workflow paths.