org.ikasan.framework.web.command
Class TriggerDetails

java.lang.Object
  extended by org.ikasan.framework.web.command.TriggerDetails
All Implemented Interfaces:
Serializable

public class TriggerDetails
extends Object
implements Serializable

Class representing the details for a trigger

Author:
Ikasan Development Team
See Also:
Serialized Form

Constructor Summary
TriggerDetails(String moduleName, String flowName)
          Constructor
 
Method Summary
 Trigger createTrigger()
          Create a trigger from the details
 String getFlowElementName()
          Get the flow element name
 String getFlowName()
          Get the flow name
 String getJobName()
          Get the job name
 String getModuleName()
          Get the module name
 Map<String,String> getParams()
          Get the map of parameters
 String getRelationship()
          Get the trigger relationship
 void setFlowElementName(String flowElementName)
          Set the flow element name
 void setJobName(String jobName)
          Set the job name
 void setParams(Map<String,String> params)
          Set the map of parameters
 void setRelationship(String relationship)
          Set the trigger relationship (before/after)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriggerDetails

public TriggerDetails(String moduleName,
                      String flowName)
Constructor

Parameters:
moduleName - - The name of the module
flowName - - The name of the flow
Method Detail

getFlowElementName

public String getFlowElementName()
Get the flow element name

Returns:
flow element name

getFlowName

public String getFlowName()
Get the flow name

Returns:
flow name

getJobName

public String getJobName()
Get the job name

Returns:
job name

getModuleName

public String getModuleName()
Get the module name

Returns:
the module name

getParams

public Map<String,String> getParams()
Get the map of parameters

Returns:
map of parameters

getRelationship

public String getRelationship()
Get the trigger relationship

Returns:
relationship

setFlowElementName

public void setFlowElementName(String flowElementName)
Set the flow element name

Parameters:
flowElementName - - flow element name

setJobName

public void setJobName(String jobName)
Set the job name

Parameters:
jobName - - The job name to set

setParams

public void setParams(Map<String,String> params)
Set the map of parameters

Parameters:
params - - map of parameters to set

setRelationship

public void setRelationship(String relationship)
Set the trigger relationship (before/after)

Parameters:
relationship - the trigger relationship to set

createTrigger

public Trigger createTrigger()
Create a trigger from the details

Returns:
Trigger


Copyright © 2007-2011 Ikasan. All Rights Reserved.