public class CoreGUIContext extends Object implements StatementContext
| Modifier and Type | Field and Description |
|---|---|
static String |
SELECTED_HOST |
static String |
SELECTED_PROFILE |
static String |
SELECTED_SERVER |
static String |
USER |
| Constructor and Description |
|---|
CoreGUIContext(CurrentProfileSelection profileSelection,
CurrentUser userSelection,
ServerStore serverStore,
HostStore hostStore) |
| Modifier and Type | Method and Description |
|---|---|
LinkedList<String> |
collect(String key)
Collects all values matching a key.
|
LinkedList<String[]> |
collectTuples(String key)
Collects all tuples matching a key.
|
String |
get(String key)
Get a value matching the key.
|
String[] |
getTuple(String key)
Get a tuple matching the key.
|
String |
resolve(String key)
Resolves a value matching the key.
|
String[] |
resolveTuple(String key)
Resolves a tuple matching the key.
|
public static final String USER
public static final String SELECTED_PROFILE
public static final String SELECTED_HOST
public static final String SELECTED_SERVER
@Inject public CoreGUIContext(CurrentProfileSelection profileSelection, CurrentUser userSelection, ServerStore serverStore, HostStore hostStore)
public String resolve(String key)
StatementContextresolve in interface StatementContextpublic String[] resolveTuple(String key)
StatementContextresolveTuple in interface StatementContextpublic LinkedList<String> collect(String key)
StatementContextcollect in interface StatementContextpublic LinkedList<String[]> collectTuples(String key)
StatementContextcollectTuples in interface StatementContextpublic String get(String key)
StatementContextget in interface StatementContextpublic String[] getTuple(String key)
StatementContextgetTuple in interface StatementContextCopyright © 2014 JBoss, a division of Red Hat. All rights reserved.