Class 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
    • Field Summary

      • Fields inherited from class org.apache.tools.ant.Task

        description, location, target, taskName, taskType, wrapper
      • Fields inherited from class org.apache.tools.ant.ProjectComponent

        project
    • 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
      • Methods inherited from class org.apache.tools.ant.ProjectComponent

        getProject, setProject
      • Methods inherited from class java.lang.Object

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

      • LoadBagValuesTask

        public LoadBagValuesTask()
    • 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 class org.apache.tools.ant.Task
        Throws:
        org.apache.tools.ant.BuildException - if there is a problem while