if (support.getConditionService () == null) { support.getLog().warn(support.getAgentIdentifier() + " - Could not set condition <" + support.getConditionName() + "> because no condition service available."); return false; }
  protected boolean setDoubleCondition(double value) {    boolean successful = false;    if (support.getConditionService () == null) {      support.getLog().warn(support.getAgentIdentifier() + " - Could not set condition <" + support.getConditionName() +			    "> because no condition service available.");      return false;    }    ConditionServlet.DoubleCondition doubleCondition = support.getCondition ();    if (doubleCondition != null) {      doubleCondition.setValue(new Double(value));      if (support.getLog().isInfoEnabled()) 	support.getLog().info(support.getAgentIdentifier() + " - Setting " + support.getConditionName () +			      " = " + doubleCondition.getValue());      try {	support.getBlackboardService().openTransaction();	support.getBlackboardService().publishChange(doubleCondition);	successful = true;      }       catch (Exception exc) {	support.getLog().error ("Could not publish " + support.getConditionName() + " condition???", exc);      }      finally{	support.getBlackboardService().closeTransactionDontReset();      }      }    else if (support.getLog().isInfoEnabled())      support.getLog().info (support.getAgentIdentifier() + 			     " - condition service could not find condition " +			     support.getConditionName());    return successful;  }