/** adds a configuration to the current process element */ public ProcessFactory property(Descriptor descriptor) { if (exceptionHandler!=null) { throw new PvmException("exceptionHandler needs to be closed with exceptionHandlerEnd"); } if (observableElement==null) { throw new PvmException("no current process element"); } if (event!=null) { event.addProperty(descriptor); } else { observableElement.addProperty(descriptor); } return this; }