public String getFile() { return mergeAndWritePanel.getFilename(); }
public String getFile() { return mergeAndWritePanel.getFilename(); }
/** * Gets the filename which has been entered in the FilePanel. Subclasses * don't normally need to call this method, because configuration of the * FilePanel is handled in this base class. * * @return the current filename * * @see #getFilePanel() */ public String getFile() { // TODO: Does this method need to be public? It isn't currently // called outside of this class. return filePanel.getFilename(); }
/** * {@inheritDoc} */ @Override public void modifyTestElement(TestElement element) { configureTestElement(element); IncludeController controller = (IncludeController)element; controller.setIncludePath(this.includePanel.getFilename()); }
((HTMLAssertion) inElement).setXML(); ((HTMLAssertion) inElement).setFilename(filePanel.getFilename());
/** * Initialize the provided {@link PublisherSampler} with all the values as configured in the GUI. * * @param sampler {@link PublisherSampler} instance */ private void setupSamplerProperties(final PublisherSampler sampler) { super.configureTestElement(sampler); sampler.setUseJNDIProperties(String.valueOf(useProperties.isSelected())); sampler.setJNDIIntialContextFactory(jndiICF.getText()); sampler.setProviderUrl(urlField.getText()); sampler.setConnectionFactory(jndiConnFac.getText()); sampler.setDestination(jmsDestination.getText()); sampler.setExpiration(expiration.getText()); sampler.setReconnectionErrorCodes(jmsErrorReconnectOnCodes.getText()); sampler.setPriority(priority.getText()); sampler.setUsername(jmsUser.getText()); sampler.setPassword(jmsPwd.getText()); sampler.setTextMessage(textMessage.getText()); sampler.setInputFile(messageFile.getFilename()); sampler.setRandomPath(randomFile.getFilename()); sampler.setConfigChoice(configChoice.getText()); sampler.setFileEncoding(fileEncoding.getText()); sampler.setMessageChoice(msgChoice.getText()); sampler.setIterations(iterations.getText()); sampler.setUseAuth(useAuth.isSelected()); sampler.setUseNonPersistentDelivery(useNonPersistentDelivery.isSelected()); JMSProperties args = (JMSProperties) jmsPropertiesPanel.createTestElement(); sampler.setJMSProperties(args); }