Package org.jboss.hal.meta
Interface StatementContext
-
- All Known Implementing Classes:
CoreStatementContext,FilteringStatementContext,ResourceDescriptionStatementContext,SecurityContextStatementContext,SelectionAwareStatementContext
public interface StatementContextContains global state which is updated as you navigate in the console. In standalone mode most of the methods return null.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classStatementContext.Expression
-
Field Summary
Fields Modifier and Type Field Description static StatementContextNOOP
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringdomainController()Stringresolve(String placeholder, AddressTemplate template)Resolves a single value.String[]resolveTuple(String placeholder, AddressTemplate template)Resolves a tuple.StringselectedHost()StringselectedProfile()StringselectedServer()StringselectedServerConfig()StringselectedServerGroup()
-
-
-
Field Detail
-
NOOP
static final StatementContext NOOP
-
-
Method Detail
-
resolve
String resolve(String placeholder, AddressTemplate template)
Resolves a single value.
-
resolveTuple
String[] resolveTuple(String placeholder, AddressTemplate template)
Resolves a tuple.
-
domainController
String domainController()
- Returns:
- the domain controller
-
selectedProfile
String selectedProfile()
- Returns:
- the selected profile
-
selectedServerGroup
String selectedServerGroup()
- Returns:
- the selected server group
-
selectedHost
String selectedHost()
- Returns:
- the selected host
-
selectedServerConfig
String selectedServerConfig()
- Returns:
- the selected server config
-
selectedServer
String selectedServer()
- Returns:
- the selected server
-
-