public class CoreStatementContext extends Object implements StatementContext, ProfileSelectionEvent.ProfileSelectionHandler, ServerGroupSelectionEvent.ServerGroupSelectionHandler, HostSelectionEvent.HostSelectionHandler, ServerSelectionEvent.ServerSelectionHandler
StatementContext.TupleNOOP| Constructor and Description |
|---|
CoreStatementContext(Environment environment,
com.google.web.bindery.event.shared.EventBus eventBus) |
| Modifier and Type | Method and Description |
|---|---|
String |
domainController() |
void |
onHostSelection(HostSelectionEvent event) |
void |
onProfileSelection(ProfileSelectionEvent event) |
void |
onServerGroupSelection(ServerGroupSelectionEvent event) |
void |
onServerSelection(ServerSelectionEvent event) |
String |
resolve(String resource)
Resolves a single value.
|
String[] |
resolveTuple(String placeholder)
Resolves a tuple.
|
String |
selectedHost() |
String |
selectedProfile() |
String |
selectedServer() |
String |
selectedServerConfig() |
String |
selectedServerGroup() |
@Inject public CoreStatementContext(Environment environment, com.google.web.bindery.event.shared.EventBus eventBus)
public String resolve(String resource)
StatementContextresolve in interface StatementContextpublic String[] resolveTuple(String placeholder)
StatementContextresolveTuple in interface StatementContextpublic void onProfileSelection(ProfileSelectionEvent event)
onProfileSelection in interface ProfileSelectionEvent.ProfileSelectionHandlerpublic void onServerGroupSelection(ServerGroupSelectionEvent event)
onServerGroupSelection in interface ServerGroupSelectionEvent.ServerGroupSelectionHandlerpublic void onHostSelection(HostSelectionEvent event)
onHostSelection in interface HostSelectionEvent.HostSelectionHandlerpublic void onServerSelection(ServerSelectionEvent event)
onServerSelection in interface ServerSelectionEvent.ServerSelectionHandlerpublic String domainController()
domainController in interface StatementContextpublic String selectedProfile()
selectedProfile in interface StatementContextpublic String selectedServerGroup()
selectedServerGroup in interface StatementContextpublic String selectedHost()
selectedHost in interface StatementContextpublic String selectedServerConfig()
selectedServerConfig in interface StatementContextpublic String selectedServer()
selectedServer in interface StatementContextCopyright © 2018 JBoss, a division of Red Hat. All rights reserved.