com.yworks.yfiles.bpmn.view
Class TaskTypeEnum

java.lang.Object
  extended bycom.yworks.yfiles.bpmn.view.TaskTypeEnum

public class TaskTypeEnum
extends Object

Type-safe enumeration for BPMN task types.

 

Field Summary
static TaskTypeEnum ABSTRACT
          Type constant for an abstract task or non-task.
static TaskTypeEnum BUSINESS_RULE
          Type constant for a business role task.
static TaskTypeEnum MANUAL
          Type constant for a manual task.
static TaskTypeEnum RECEIVE
          Type constant for a receive task.
static TaskTypeEnum SCRIPT
          Type constant for a script task.
static TaskTypeEnum SEND
          Type constant for a send task.
static TaskTypeEnum SERVICE
          Type constant for a service task.
static TaskTypeEnum USER
          Type constant for an user task.
 
Method Summary
static TaskTypeEnum getByName(String name)
          Retrieves the task type constant that corresponds to the given task type name.
 String toString()
          Returns a string representation of this task type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ABSTRACT

public static final TaskTypeEnum ABSTRACT
Type constant for an abstract task or non-task.


SEND

public static final TaskTypeEnum SEND
Type constant for a send task.


RECEIVE

public static final TaskTypeEnum RECEIVE
Type constant for a receive task.


USER

public static final TaskTypeEnum USER
Type constant for an user task.


MANUAL

public static final TaskTypeEnum MANUAL
Type constant for a manual task.


BUSINESS_RULE

public static final TaskTypeEnum BUSINESS_RULE
Type constant for a business role task.


SERVICE

public static final TaskTypeEnum SERVICE
Type constant for a service task.


SCRIPT

public static final TaskTypeEnum SCRIPT
Type constant for a script task.

Method Detail

toString

public String toString()
Returns a string representation of this task type.

Returns:
a string representation of this task type.

getByName

public static TaskTypeEnum getByName(String name)
Retrieves the task type constant that corresponds to the given task type name.

Parameters:
name - the name of the type constant to retrieve. Should be one of
  • TASK_TYPE_ABSTRACT
  • TASK_TYPE_SEND
  • TASK_TYPE_RECEIVE
  • TASK_TYPE_USER
  • TASK_TYPE_MANUAL
  • TASK_TYPE_BUSINESS_RULE
  • TASK_TYPE_SERVICE
  • TASK_TYPE_SCRIPT
Returns:
the task type constant that corresponds to the given name or null if there is no corresponding type constant.


© Copyright 2010-2014,
yWorks GmbH.
All rights reserved.