1 23 package org.infoglue.cms.applications.workflowtool.condition; 24 25 import com.opensymphony.workflow.WorkflowException; 26 27 30 public class HasErrors extends InfoglueCondition 31 { 32 35 public HasErrors() 36 { 37 super(); 38 } 39 40 46 protected boolean passesCondition() throws WorkflowException 47 { 48 return !getPropertySet().getKeys(ERROR_PROPERTYSET_PREFIX).isEmpty(); 49 } 50 } 51 | Popular Tags |