Package org.intermine.web.logic.bag
Class WebJobInput
- java.lang.Object
-
- org.intermine.web.logic.bag.WebJobInput
-
-
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
-
-
-
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()
-
getExtraValue
public java.lang.String getExtraValue()
- Specified by:
getExtraValue
in interfaceJobInput
- 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
-
getCaseSensitive
public java.lang.Boolean getCaseSensitive()
- Specified by:
getCaseSensitive
in interfaceJobInput
- Returns:
- true if case sensitive
-
getWildCards
public java.lang.Boolean getWildCards()
- Specified by:
getWildCards
in interfaceJobInput
- 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 interfaceJobInput
- Returns:
- TRUE if you should ignore config
-
-