[jbpm-commits] JBoss JBPM SVN: r5925 - jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/task.

do-not-reply at jboss.org do-not-reply at jboss.org
Tue Dec 8 08:30:20 EST 2009


Author: jbarrez
Date: 2009-12-08 08:30:20 -0500 (Tue, 08 Dec 2009)
New Revision: 5925

Added:
   jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/task/TaskConstants.java
Log:
Fix for JBPM-2492 : improve task outcomes

Added: jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/task/TaskConstants.java
===================================================================
--- jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/task/TaskConstants.java	                        (rev 0)
+++ jbpm4/trunk/modules/pvm/src/main/java/org/jbpm/pvm/internal/task/TaskConstants.java	2009-12-08 13:30:20 UTC (rev 5925)
@@ -0,0 +1,43 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2005, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jbpm.pvm.internal.task;
+
+/**
+ * Class containing static constants regarding tasks. 
+ * 
+ * @author Joram Barrez
+ */
+public final class TaskConstants {
+  
+  private TaskConstants() {}
+  
+  /** 
+   * Only to be used internally!
+   * This constant is used when completing a task and not specifying
+   * an outcome. 
+   * 
+   * IMPORTANT: end-users cannot use this String as the name of an
+   * outgoing transition on a task!
+   */
+  public static final String NO_TASK_OUTCOME_SPECIFIED = "jbpm_no_task_outcome_specified_jbpm";
+
+}



More information about the jbpm-commits mailing list