Class ModelUpdateTask


  • public class ModelUpdateTask
    extends org.apache.tools.ant.Task
    Task updating savedquery, savedtemplatequery and savedbag in the userprofile (identified by the userProfileAlias) when the model has been changed
    Author:
    butano
    • 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
    • Constructor Summary

      Constructors 
      Constructor Description
      ModelUpdateTask()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()
      Update savedquery, savedtemplatequery and savedbag in the userprofile through ModelUpdate object
      void setOldModelLocation​(java.lang.String oldModel)
      Set the location of the previous model.
      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

      • ModelUpdateTask

        public ModelUpdateTask()
    • 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
      • setOldModelLocation

        public void setOldModelLocation​(java.lang.String oldModel)
        Set the location of the previous model.
        Parameters:
        oldModel - the location
      • execute

        public void execute()
        Update savedquery, savedtemplatequery and savedbag in the userprofile through ModelUpdate object
        Overrides:
        execute in class org.apache.tools.ant.Task