Interface DomainManager
-
- All Superinterfaces:
ServerGroupManager,ServerManager
- All Known Implementing Classes:
AbstractDomainManager
public interface DomainManager extends ServerGroupManager, ServerManager
Allows a domain to be managed. If the container this manager belongs to was not started in manual mode any lifecycle operations will result in an error.- Author:
- James R. Perkins
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<String>getServerGroups()Returns a set of the server group names.Set<ServerDescription>getServers()Returns all the servers in this domain.Set<ServerDescription>getServers(String hostName)Returns all the servers on the host.booleanisDomainStarted()If the domain container has been started.-
Methods inherited from interface org.wildfly.arquillian.domain.api.ServerGroupManager
reloadServers, restartServers, resumeServers, startServers, stopServers, suspendServers
-
Methods inherited from interface org.wildfly.arquillian.domain.api.ServerManager
getServerGroupName, isServerStarted, restartServer, resumeServer, startServer, stopServer, suspendServer
-
-
-
-
Method Detail
-
getServerGroups
Set<String> getServerGroups()
Returns a set of the server group names.- Returns:
- the server group names
- Throws:
RuntimeException- if the operation fails
-
getServers
Set<ServerDescription> getServers()
Returns all the servers in this domain.- Returns:
- all the servers
- Throws:
RuntimeException- if the operation fails
-
getServers
Set<ServerDescription> getServers(String hostName)
Returns all the servers on the host.- Parameters:
hostName- the host to get the serves for- Returns:
- the servers associated with the host
- Throws:
RuntimeException- if the operation fails
-
isDomainStarted
boolean isDomainStarted()
If the domain container has been started.- Returns:
trueif the domain controller has been started, otherwisefalse
-
-