Class WidgetsServiceInput.Builder
- java.lang.Object
-
- org.intermine.webservice.server.widget.WidgetsServiceInput
-
- org.intermine.webservice.server.widget.WidgetsServiceInput.Builder
-
- All Implemented Interfaces:
EnrichmentOptions
,WidgetOptions
- Enclosing class:
- WidgetsServiceInput
public static class WidgetsServiceInput.Builder extends WidgetsServiceInput
Class to build Inputs for the Widget Service. This class contains all the setters.- Author:
- Alex Kalderimis
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.intermine.webservice.server.widget.WidgetsServiceInput
WidgetsServiceInput.Builder
-
-
Field Summary
-
Fields inherited from class org.intermine.webservice.server.widget.WidgetsServiceInput
bagName, correction, extraAttribute, filter, ids, maxP, populationBagName, populationIds, savePopulation, widgetId
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setCorrection(java.lang.String correction)
void
setExtraAttribute(java.lang.String extraAttribute)
void
setFilter(java.lang.String filter)
void
setIds(java.lang.String ids)
void
setMaxP(double maxp)
void
setPopulationBagName(java.lang.String populationBagName)
Set the bag's name for reference populationvoid
setPopulationIds(java.lang.String populationIds)
void
setSavePopulation(boolean savePopulation)
-
Methods inherited from class org.intermine.webservice.server.widget.WidgetsServiceInput
getBagName, getCorrection, getExtraAttribute, getExtraCorrectionCoefficient, getFilter, getIds, getMaxPValue, getPopulationBagName, getPopulationIds, getWidgetId, shouldSavePopulation, toString
-
-
-
-
Method Detail
-
setPopulationBagName
public void setPopulationBagName(java.lang.String populationBagName)
Set the bag's name for reference population- Parameters:
populationBagName
- the bagName to set
-
setSavePopulation
public void setSavePopulation(boolean savePopulation)
- Parameters:
savePopulation
- whether we should save the population list.
-
setCorrection
public void setCorrection(java.lang.String correction)
- Parameters:
correction
- the correction algorithm to use.
-
setMaxP
public void setMaxP(double maxp)
- Parameters:
maxp
- The maximum acceptable p-value
-
setFilter
public void setFilter(java.lang.String filter)
- Parameters:
filter
- the filter for this request
-
setIds
public void setIds(java.lang.String ids)
- Parameters:
ids
- list of intermine object IDs
-
setPopulationIds
public void setPopulationIds(java.lang.String populationIds)
- Parameters:
populationIds
- list of intermine object IDs to use isntead of populationBagName
-
setExtraAttribute
public void setExtraAttribute(java.lang.String extraAttribute)
- Parameters:
extraAttribute
- the extra attribute for this request.
-
-