com.taleo.integration.client.customstep.velocity
Class WorkflowTool

java.lang.Object
  extended by com.taleo.integration.client.customstep.velocity.WorkflowTool

public class WorkflowTool
extends java.lang.Object

Class to expose workflow variables into Velocity templates.

Author:
Romain Guay - Taleo Corporation

Constructor Summary
WorkflowTool(com.taleo.ws.integration.client.Pipeline pipeline, com.taleo.ws.integration.client.GlobalConfig config)
          Constructor with the pipeline and the config.
 
Method Summary
 java.util.Date getEffectiveRunDate()
          Get the effective run date that is used for filtering.
 java.util.Date getLastRunDate()
          Get the last run date.
 java.util.Date getRunDate()
          Get the current run date.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowTool

public WorkflowTool(com.taleo.ws.integration.client.Pipeline pipeline,
                    com.taleo.ws.integration.client.GlobalConfig config)
Constructor with the pipeline and the config.

Parameters:
pipeline - The worflow pipeline.
config - The workflow config.
Method Detail

getRunDate

public java.util.Date getRunDate()
Get the current run date.


getLastRunDate

public java.util.Date getLastRunDate()
Get the last run date.


getEffectiveRunDate

public java.util.Date getEffectiveRunDate()
Get the effective run date that is used for filtering.