Package com.consol.citrus.server
Class AbstractServerBuilder<T extends AbstractServer,B extends AbstractServerBuilder<T,B>>
- java.lang.Object
-
- com.consol.citrus.endpoint.AbstractEndpointBuilder<T>
-
- com.consol.citrus.server.AbstractServerBuilder<T,B>
-
- All Implemented Interfaces:
com.consol.citrus.endpoint.EndpointBuilder<T>
public abstract class AbstractServerBuilder<T extends AbstractServer,B extends AbstractServerBuilder<T,B>> extends AbstractEndpointBuilder<T>
- Author:
- Christoph Deppisch
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractServerBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description B
autoStart(boolean autoStart)
Sets the autoStart property.B
debugLogging(boolean enabled)
Sets the debug logging enabled flag.B
endpointAdapter(com.consol.citrus.endpoint.EndpointAdapter endpointAdapter)
Sets the endpoint adapter.B
timeout(long timeout)
Sets the default timeout.-
Methods inherited from class com.consol.citrus.endpoint.AbstractEndpointBuilder
actor, build, getEndpoint, initialize, name, referenceResolver, supports
-
-
-
-
Method Detail
-
autoStart
public B autoStart(boolean autoStart)
Sets the autoStart property.- Parameters:
autoStart
-- Returns:
-
endpointAdapter
public B endpointAdapter(com.consol.citrus.endpoint.EndpointAdapter endpointAdapter)
Sets the endpoint adapter.- Parameters:
endpointAdapter
-- Returns:
-
debugLogging
public B debugLogging(boolean enabled)
Sets the debug logging enabled flag.- Parameters:
enabled
-- Returns:
-
timeout
public B timeout(long timeout)
Sets the default timeout.- Parameters:
timeout
-- Returns:
-
-