Interface Setup

  • All Known Implementing Classes:
    DefaultSetup

    public interface Setup
    Interface to describe the setup phase of a fixture.
    Since:
    1.0
    • 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 name
        client - the client
        Returns:
        the previous client associated with name, or null if there was no mapping for name
        Since:
        1.0
      • putServer

        Server putServer​(java.lang.String name,
                         Server server)
        Adds a server.
        Parameters:
        name - the name
        server - the server
        Returns:
        the previous server associated with name, or null if there was no mapping for name
        Since:
        1.0