org.troublescope.tools
Class TroubleScopeJnlpTask

java.lang.Object
  |
  +--org.apache.tools.ant.ProjectComponent
        |
        +--org.apache.tools.ant.Task
              |
              +--org.apache.velocity.texen.ant.TexenTask
                    |
                    +--org.troublescope.tools.TroubleScopeJnlpTask

public class TroubleScopeJnlpTask
extends org.apache.velocity.texen.ant.TexenTask

An Ant task used to generate the JNLP file for a particular evaluation.


Fields inherited from class org.apache.velocity.texen.ant.TexenTask
contextProperties, controlTemplate, inputEncoding, outputDirectory, outputEncoding, outputFile, templatePath, useClasspath
 
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
TroubleScopeJnlpTask()
          Create a new TroubleScopeJnlpTask.
 
Method Summary
 void execute()
          Execute this task.
 java.lang.String getApplicationId()
          Returns the application id.
 java.io.File getBasedir()
          Returns the base directory.
 java.lang.String getBaseUrl()
          Returns the base url.
 java.lang.String getClientType()
          Returns the client type.
 java.lang.String getEvaluationId()
          Returns the evaluation id.
protected  void populateInitialContext(org.apache.velocity.context.Context context)
          Populate the initial context.
 void setApplicationId(java.lang.String anApplicationId)
          Sets teh application id.
 void setBasedir(java.io.File aBasedir)
          Sets the base directory.
 void setBaseUrl(java.lang.String aBaseUrl)
          Sets the base url.
 void setClientType(java.lang.String aClientType)
          Set the client type.
 void setEvaluationId(java.lang.String anEvaluationId)
          Set the evaluation id.
 
Methods inherited from class org.apache.velocity.texen.ant.TexenTask
cleanup, getContextProperties, getControlTemplate, getOutputDirectory, getOutputFile, getTemplatePath, initControlContext, setContextProperties, setControlTemplate, setInputEncoding, setOutputDirectory, setOutputEncoding, setOutputFile, setTemplatePath, setUseClasspath
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorOutput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
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

TroubleScopeJnlpTask

public TroubleScopeJnlpTask()
Create a new TroubleScopeJnlpTask.
Method Detail

getBasedir

public java.io.File getBasedir()
Returns the base directory.

setBasedir

public void setBasedir(java.io.File aBasedir)
Sets the base directory.

getBaseUrl

public java.lang.String getBaseUrl()
Returns the base url.

setBaseUrl

public void setBaseUrl(java.lang.String aBaseUrl)
Sets the base url.

getEvaluationId

public java.lang.String getEvaluationId()
Returns the evaluation id.

setEvaluationId

public void setEvaluationId(java.lang.String anEvaluationId)
Set the evaluation id.

getApplicationId

public java.lang.String getApplicationId()
Returns the application id.

setApplicationId

public void setApplicationId(java.lang.String anApplicationId)
Sets teh application id.

getClientType

public java.lang.String getClientType()
Returns the client type.

setClientType

public void setClientType(java.lang.String aClientType)
Set the client type.

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Execute this task.
Overrides:
execute in class org.apache.velocity.texen.ant.TexenTask

populateInitialContext

protected void populateInitialContext(org.apache.velocity.context.Context context)
                               throws java.lang.Exception
Populate the initial context.
Overrides:
populateInitialContext in class org.apache.velocity.texen.ant.TexenTask


Copyright © 2002-2002 TroubleScope. All Rights Reserved.