com.informatica.powercenter.sdk.mapfwk.core
Class Timer

java.lang.Object
  extended by com.informatica.powercenter.sdk.mapfwk.core.Task
      extended by com.informatica.powercenter.sdk.mapfwk.core.Timer

public class Timer
extends Task

Represent Timer Task.

Workflow Manager contains many types of tasks to help you build workflows and worklets

Allows to wait for a specified period of time to run the next task in a workflow. The settings of Timer task can be specified using TimerType

See Also:
Assignment, Command, Control, EMail, Session, Decision, TimerType

Field Summary
static java.lang.String VARIABLE
          VARIABLE - Used when the timer type is a variable timer
 
Fields inherited from class com.informatica.powercenter.sdk.mapfwk.core.Task
FAIL_PARENT_IF_INSTANCE_DIDNOT_RUN, FAIL_PARENT_IF_INSTANCE_FAILS, NO_OPTION, REUSABLE, TREAT_INPUT_LINK_AS_AND, YES_OPTION
 
Constructor Summary
Timer(java.lang.String name, java.lang.String busName, java.lang.String desc, TimerType timerType)
          Creates a timer task.
 
Method Summary
 TimerType getTimerType()
          Gets the timer type
 void setTimerType(TimerType timerType)
          Sets the timer type
 
Methods inherited from class com.informatica.powercenter.sdk.mapfwk.core.Task
connectToTask, connectToTask, deleteNameValuePair, getAllConnectedTasks, getAllConnectedTasksAndExpressions, getAttributes, getBusinessName, getConflictResolution, getDescription, getMetaExtensions, getName, getNamesOfValuePairs, getNameValuePairs, getProperties, getTaskInstanceProperty, getType, getValueOfNameValuePair, isModified, setAttributes, setBusinessName, setConflictResolution, setDescription, setMetaExtensions, setModified, setName, setNameValuePair, setTaskInstanceProperty, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VARIABLE

public static final java.lang.String VARIABLE
VARIABLE - Used when the timer type is a variable timer

See Also:
Constant Field Values
Constructor Detail

Timer

public Timer(java.lang.String name,
             java.lang.String busName,
             java.lang.String desc,
             TimerType timerType)
Creates a timer task.

Parameters:
name - name of timer
busName - business name
desc - description
timerType - type of timer
Method Detail

getTimerType

public TimerType getTimerType()
Gets the timer type

Returns:
the timerType
See Also:
TimerType

setTimerType

public void setTimerType(TimerType timerType)
Sets the timer type

Parameters:
timerType - the timer type to be set
See Also:
TimerType