Class ServiceToTest
- java.lang.Object
-
- com.adaptris.tester.runtime.services.ServiceToTest
-
- Direct Known Subclasses:
ServiceProvider
public class ServiceToTest extends java.lang.ObjectIn the service test configuration this class is aliased as
service-to-testwhich is the preferred alternative to the fully qualified classname when building your configuration.
-
-
Constructor Summary
Constructors Constructor Description ServiceToTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPreprocessor(Preprocessor preprocessor)java.util.List<Preprocessor>getPreprocessors()java.lang.StringgetProcessedSource(ServiceTestConfig config)SourcegetSource()voidsetPreprocessors(java.util.List<Preprocessor> preprocessors)voidsetSource(Source source)
-
-
-
Method Detail
-
setSource
public void setSource(Source source)
-
getSource
public Source getSource()
-
setPreprocessors
public void setPreprocessors(java.util.List<Preprocessor> preprocessors)
-
getPreprocessors
public java.util.List<Preprocessor> getPreprocessors()
-
addPreprocessor
public void addPreprocessor(Preprocessor preprocessor)
-
getProcessedSource
public java.lang.String getProcessedSource(ServiceTestConfig config) throws PreprocessorException, SourceException
- Throws:
PreprocessorExceptionSourceException
-
-