This {@link Descriptor} creates a String.
717273747576777879
addListener(descriptor, propagation); return this; } public FlowBuilder property(String name, String value) { StringDescriptor descriptor = new StringDescriptor(name, value); transition.addProperty(descriptor); return this; }
123124125126127128129
public CompositeExceptionHandlerBuilder startExceptionHandler(Class<? extends Throwable> exceptionType) { return new CompositeExceptionHandlerBuilder(this, exceptionType); } public CompositeBuilder property(String name, String value) { return property(new StringDescriptor(name, value)); }
484950515253545556
* @see WireParser */ public class StringBinding extends BasicTypeBinding { protected AbstractDescriptor createDescriptor(String value) { StringDescriptor stringDescriptor = new StringDescriptor(); stringDescriptor.setValue(value); return stringDescriptor; }
666768697071727374757677
commandExecutorInjection.setDescriptor(commandExecutorDescriptor); descriptor.addOperation(commandExecutorInjection); if (element.hasAttribute("name")) { StringDescriptor nameDescriptor = new StringDescriptor(); nameDescriptor.setValue(element.getAttribute("name")); FieldOperation nameInjection = new FieldOperation(); nameInjection.setFieldName("name"); nameInjection.setDescriptor(nameDescriptor); }
9596979899100101102103104105106107108109
String value = XmlUtil.attribute(propertyElement, "value"); if ( (name!=null) && (value!=null) ) { StringDescriptor nameDescriptor = new StringDescriptor(); nameDescriptor.setValue(name); keyDescriptors.add(nameDescriptor); StringDescriptor valueDescriptor = new StringDescriptor(); valueDescriptor.setValue(value); valueDescriptors.add(valueDescriptor); } else { parse.addProblem("property must have name and value attributes: "+XmlUtil.toString(propertyElement)); } } else {
493494495496497498499500501502503
return event; } /** adds a string-valued configuration to the current process element */ public ProcessFactory property(String name, String stringValue) { StringDescriptor stringDescriptor = new StringDescriptor(); stringDescriptor.setName(name); stringDescriptor.setValue(stringValue); property(stringDescriptor); return this; }