Package org.intermine.web.task
Class LoadBagValuesTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.intermine.web.task.LoadBagValuesTask
-
public class LoadBagValuesTask extends org.apache.tools.ant.Task
Task to load bagvalues table in the userprofile database. If in the table savedbag, the column 'intermine_state' doesn't exist , add it.- Author:
- dbutano
-
-
Constructor Summary
Constructors Constructor Description LoadBagValuesTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Execute the task - load bagvalues table.void
setOSAlias(java.lang.String osAlias)
Set the alias of the main object store.void
setUserProfileAlias(java.lang.String userProfileAlias)
Set the alias of the userprofile object store.-
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Method Detail
-
setOSAlias
public void setOSAlias(java.lang.String osAlias)
Set the alias of the main object store.- Parameters:
osAlias
- the object store alias
-
setUserProfileAlias
public void setUserProfileAlias(java.lang.String userProfileAlias)
Set the alias of the userprofile object store.- Parameters:
userProfileAlias
- the object store alias of the userprofile database
-
execute
public void execute()
Execute the task - load bagvalues table.- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
- if there is a problem while
-
-