org.ikasan.framework.flow.event.model
Class Trigger

java.lang.Object
  extended by org.ikasan.framework.flow.event.model.Trigger

public class Trigger
extends Object

Class the represent s a trigger for a Job

Author:
Ikasan Development Team

Constructor Summary
Trigger(String moduleName, String flowName, String relationshipDescription, String jobName)
          Constructor
Trigger(String moduleName, String flowName, String relationshipDescription, String jobName, Map<String,String> params)
          Constructor
Trigger(String moduleName, String flowName, String relationshipDescription, String jobName, String flowElementName)
          Constructor
Trigger(String moduleName, String flowName, String relationshipDescription, String jobName, String flowElementName, Map<String,String> params)
          Constructor
 
Method Summary
 boolean appliesToFlowElement()
          Returns true if this is to apply to a FlowElement, otherwise false
 String getFlowElementName()
          Accessor for flowElementName
 String getFlowName()
          Accessor for flowName
 Long getId()
          Accessor for id
 String getJobName()
          Accessor for jobName
 String getModuleName()
          Accessor for moduleName
 Map<String,String> getParams()
          Accessor for params
 TriggerRelationship getRelationship()
          Accessor for relationship
 String toString()
          String representation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Trigger

public Trigger(String moduleName,
               String flowName,
               String relationshipDescription,
               String jobName)
Constructor

Parameters:
moduleName - - The name of the module
flowName - - The name of the flow
relationshipDescription - - The relationship description
jobName - - The name of the Job to trigger

Trigger

public Trigger(String moduleName,
               String flowName,
               String relationshipDescription,
               String jobName,
               Map<String,String> params)
Constructor

Parameters:
moduleName - - The name of the module
flowName - - The name of the flow
relationshipDescription - - The relationship description
jobName - - The name of the Job to trigger
params - - The parameters for the trigger

Trigger

public Trigger(String moduleName,
               String flowName,
               String relationshipDescription,
               String jobName,
               String flowElementName)
Constructor

Parameters:
moduleName - - The name of the module
flowName - - The name of the flow
relationshipDescription - - The relationship description
jobName - - The name of the Job to trigger
flowElementName - - The name of the Flow Element

Trigger

public Trigger(String moduleName,
               String flowName,
               String relationshipDescription,
               String jobName,
               String flowElementName,
               Map<String,String> params)
Constructor

Parameters:
moduleName - - The name of the module
flowName - - The name of the flow
relationshipDescription - - The relationship description
jobName - - The name of the Job to trigger
flowElementName - - The name of the Flow Element
params - - The parameters for the trigger
Method Detail

appliesToFlowElement

public boolean appliesToFlowElement()
Returns true if this is to apply to a FlowElement, otherwise false

Returns:
true if this is to apply to a FlowElement, otherwise false

getFlowElementName

public String getFlowElementName()
Accessor for flowElementName

Returns:
The flow element name

getFlowName

public String getFlowName()
Accessor for flowName

Returns:
flowName

getId

public Long getId()
Accessor for id

Returns:
id

getJobName

public String getJobName()
Accessor for jobName

Returns:
jobName

getModuleName

public String getModuleName()
Accessor for moduleName

Returns:
moduleName

getParams

public Map<String,String> getParams()
Accessor for params

Returns:
params

getRelationship

public TriggerRelationship getRelationship()
Accessor for relationship

Returns:
relationship

toString

public String toString()
String representation

Overrides:
toString in class Object


Copyright © 2007-2012 Ikasan. All Rights Reserved.