Interface Setup
-
- All Known Implementing Classes:
DefaultSetup
public interface Setup
Interface to describe the setup phase of a fixture.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getClients()
Returns the clients.java.util.Map<java.lang.String,Server>
getServers()
Returns the servers.void
initialize()
The initializer for the setup class.java.lang.Object
putClient(java.lang.String name, java.lang.Object client)
Adds a client.Server
putServer(java.lang.String name, Server server)
Adds a server.
-
-
-
Method Detail
-
getClients
java.util.Map<java.lang.String,java.lang.Object> getClients()
Returns the clients.- Returns:
- the clients
- Since:
- 1.0
-
getServers
java.util.Map<java.lang.String,Server> getServers()
Returns the servers.- Returns:
- the servers
- Since:
- 1.0
-
initialize
void initialize()
The initializer for the setup class. This method should prepare the setup class so that it can be used from the executor.- Since:
- 1.0
-
putClient
java.lang.Object putClient(java.lang.String name, java.lang.Object client)
Adds a client.- Parameters:
name
- the nameclient
- the client- Returns:
- the previous client associated with
name
, ornull
if there was no mapping forname
- Since:
- 1.0
-
-