Package org.intermine.web.task
Class TemplateTrackReadTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.intermine.web.task.TemplateTrackReadTask
-
public class TemplateTrackReadTask extends org.apache.tools.ant.Task
Task to read an templatetrack XML file of a webapp and saved into the userprofile database.- Author:
- dbutano
-
-
Constructor Summary
Constructors Constructor Description TemplateTrackReadTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Execute the task - read the profiles.void
setFileName(java.lang.String fileName)
Set the name of the file to read from.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
-
setFileName
public void setFileName(java.lang.String fileName)
Set the name of the file to read from.- Parameters:
fileName
- the file name
-
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 - read the profiles.- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
- if there is a problem while reading from the file or writing to the profiles.
-
-