com.xebialabs.itest
Interface ItestHost


public interface ItestHost

Represents a host that is used for an integration test.


Method Summary
 java.lang.String getHostName()
          Returns the name of the host.
 int getPort(int port)
          Returns the port number to
 void setup()
          Ensures the host is available for the integration test.
 void teardown()
          Releases the host resources.
 

Method Detail

setup

void setup()
Ensures the host is available for the integration test. To be called before the integration is started.


teardown

void teardown()
Releases the host resources. To be called after the integration test has finished.


getHostName

java.lang.String getHostName()
Returns the name of the host. Can only be called after setup() has been invoked.

Returns:
the host name.

getPort

int getPort(int port)
Returns the port number to

Parameters:
port -
Returns: