1 23 package org.infoglue.cms.applications.workflowtool.condition; 24 25 import com.opensymphony.workflow.WorkflowException; 26 27 30 public class HasFunctionStatus extends InfoglueCondition 31 { 32 35 private final static String WANTED_STATUS_ARGUMENT = "status"; 36 37 40 public HasFunctionStatus() 41 { 42 super(); 43 } 44 45 51 protected boolean passesCondition() throws WorkflowException 52 { 53 return getArgument(WANTED_STATUS_ARGUMENT).equals(getPropertySetString(FUNCTION_STATUS_PROPERTYSET_KEY)); 54 } 55 } 56 | Popular Tags |