protected XmlObject createConfiguration() { XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder(); builder.add("token", token); builder.add("ignoreCase", ignoreCase); builder.add("useRegEx", useRegEx); return builder.finish(); }
protected XmlObject createConfiguration() { XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder(); builder.add( ASSERTION_SPECIFIC_EXPOSURE_LIST, assertionSpecificExposureList.toArray(new String[assertionSpecificExposureList.size()])); builder.add(INCLUDE_PROJECT_SPECIFIC, includeProjectSpecific); builder.add(INCLUDE_GLOBAL, includeGlobal); return builder.finish(); }
protected XmlObject createConfiguration() { XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder(); builder.add("asertWsaAction", assertWsaAction); builder.add("asertWsaTo", assertWsaTo); builder.add("assertWsaReplyTo", assertWsaReplyTo); builder.add("assertWsaMessageId", assertWsaMessageId); // builder.add("asertWsaRelatesTo", assertWsaRelatesTo); // builder.add("assertReplyToRefParams", assertReplyToRefParams); // builder.add("assertFaultToRefParams", assertFaultToRefParams); return builder.finish(); }
protected void updateConfiguration() { XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder(); builder.add(NAME_ELEMENT, getName()); builder.add(MIN_REQUESTS_ELEMENT, minRequests); builder.add(MAX_AVERAGE_ELEMENT, maxAverage); builder.add(TEST_STEP_ELEMENT, getTargetStep()); builder.add(MAX_ERRORS_ELEMENT, maxErrors); builder.add(SAMPLE_INTERVAL_ELEMENT, sampleInterval); setConfiguration(builder.finish()); }
public void saveConfig() { XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder(); save(builder); config.getConfiguration().set(builder.finish()); }
private void saveScript(TestStepConfig config) { XmlObjectConfigurationBuilder builder = new XmlObjectConfigurationBuilder(); builder.add("script", scriptText); config.setConfig(builder.finish()); }