Class WebJobInput

  • All Implemented Interfaces:
    JobInput

    public final class WebJobInput
    extends java.lang.Object
    implements JobInput
    Author:
    Radek
    • Constructor Summary

      Constructors 
      Constructor Description
      WebJobInput​(java.lang.String type, java.util.Collection<java.lang.String> idents, BuildBagForm form)
      Create a web-job.
      WebJobInput​(java.lang.String type, java.util.Collection<java.lang.String> idents, BuildBagForm form, boolean ignoreConfig)
      Create a web-job.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Boolean getCaseSensitive()  
      java.lang.String getExtraValue()  
      java.util.Collection<java.lang.String> getIds()  
      java.lang.Boolean getIgnoreConfig()
      There is config that allows mines to configure match behaviour.
      java.lang.String getType()  
      java.lang.Boolean getWildCards()  
      void setExtraValue​(java.lang.String extraValue)
      Only used in the portal when we have to link directly to the list upload
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebJobInput

        public WebJobInput​(java.lang.String type,
                           java.util.Collection<java.lang.String> idents,
                           BuildBagForm form)
        Create a web-job.
        Parameters:
        type - The type of thing to find.
        idents - The identifiers to look for.
        form - The form containing optional properties.
      • WebJobInput

        public WebJobInput​(java.lang.String type,
                           java.util.Collection<java.lang.String> idents,
                           BuildBagForm form,
                           boolean ignoreConfig)
        Create a web-job.
        Parameters:
        type - The type of thing to find.
        idents - The identifiers to look for.
        form - The form containing optional properties.
        ignoreConfig - TRUE if this is a LOOKUP query and we want to ignore config
    • Method Detail

      • getIds

        public java.util.Collection<java.lang.String> getIds()
        Specified by:
        getIds in interface JobInput
        Returns:
        IDs
      • getExtraValue

        public java.lang.String getExtraValue()
        Specified by:
        getExtraValue in interface JobInput
        Returns:
        extra value
      • setExtraValue

        public void setExtraValue​(java.lang.String extraValue)
        Only used in the portal when we have to link directly to the list upload
        Parameters:
        extraValue - organism name
      • getType

        public java.lang.String getType()
        Specified by:
        getType in interface JobInput
        Returns:
        type
      • getCaseSensitive

        public java.lang.Boolean getCaseSensitive()
        Specified by:
        getCaseSensitive in interface JobInput
        Returns:
        true if case sensitive
      • getWildCards

        public java.lang.Boolean getWildCards()
        Specified by:
        getWildCards in interface JobInput
        Returns:
        wildcards
      • getIgnoreConfig

        public java.lang.Boolean getIgnoreConfig()
        Description copied from interface: JobInput
        There is config that allows mines to configure match behaviour. e.g. matchOnFirst let's you select the first / best match. This parameter overrides that setting. see #1494 Basically we want to use this NOT in LOOKUPs but only in the list upload. However there is only one bag query runner and it's used on both so we have to set this param for each request.
        Specified by:
        getIgnoreConfig in interface JobInput
        Returns:
        TRUE if you should ignore config