Class TemplateTrackWriteTask


  • public class TemplateTrackWriteTask
    extends org.apache.tools.ant.Task
    Task to write an XML file of template track contained in the user profile database.
    Author:
    dbutano
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String fileName  
      • 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 - write the template tracks as XML.
      void setFileName​(java.lang.String fileName)
      Set the name of the file to write to.
      void setUserProfileAlias​(java.lang.String userProfileAlias)
      Set the alias of the userprofile database.
      • 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
    • Field Detail

      • fileName

        protected java.lang.String fileName
    • Constructor Detail

      • TemplateTrackWriteTask

        public TemplateTrackWriteTask()
    • Method Detail

      • setFileName

        public void setFileName​(java.lang.String fileName)
        Set the name of the file to write to.
        Parameters:
        fileName - the file name
      • setUserProfileAlias

        public void setUserProfileAlias​(java.lang.String userProfileAlias)
        Set the alias of the userprofile database.
        Parameters:
        userProfileAlias - the object store alias of the userprofile database
      • execute

        public void execute()
        Execute the task - write the template tracks as XML.
        Overrides:
        execute in class org.apache.tools.ant.Task
        Throws:
        org.apache.tools.ant.BuildException - if there is a problem while writing to the file or reading the template tracks.