public interface RepositoryOperations
Modifier and Type | Method and Description |
---|---|
String[] |
getApplicationNames()
Returns list of ALL applicationNames defined in ServerDefs of registered
servers.
|
ServerDef |
getServer(String serverId)
get server definition
|
String |
getServerID(String applicationName)
Find the ServerID associated with the given application name.
|
void |
install(String serverId)
Mark the server as being installed.
|
boolean |
isInstalled(String serverId)
Return whether the server has been installed
|
String[] |
listRegisteredServers()
list registered servers
|
String |
registerServer(ServerDef serverDef)
register server definition.
|
void |
uninstall(String serverId)
Mark the server as being uninstalled.
|
void |
unregisterServer(String serverId)
unregister server definition
|
String registerServer(ServerDef serverDef) throws ServerAlreadyRegistered, BadServerDefinition
void unregisterServer(String serverId) throws ServerNotRegistered
ServerNotRegistered
ServerDef getServer(String serverId) throws ServerNotRegistered
ServerNotRegistered
boolean isInstalled(String serverId) throws ServerNotRegistered
ServerNotRegistered
void install(String serverId) throws ServerNotRegistered, ServerAlreadyInstalled
void uninstall(String serverId) throws ServerNotRegistered, ServerAlreadyUninstalled
String[] listRegisteredServers()
String[] getApplicationNames()
String getServerID(String applicationName) throws ServerNotRegistered
ServerNotRegistered
Copyright © 2019 JBoss by Red Hat. All rights reserved.