Package org.jboss.hal.core.configuration
Class PathsAutoComplete
- java.lang.Object
-
- org.jboss.hal.ballroom.autocomplete.AutoComplete
-
- org.jboss.hal.core.configuration.PathsAutoComplete
-
- All Implemented Interfaces:
Attachable,SuggestHandler
public class PathsAutoComplete extends AutoComplete
Special auto complete class for paths. In standalone mode or in case there's no selected profile the paths are read using:read-children-names(child-type=path).In domain mode we try to get the first running server of the selected profile and use
/host=foo/server-bar:read-children-names(child-type=path)or:read-children-names(child-type=path)in case there's no running server or no selected profile.Since the operation is static it's important to update it when a profile is selected or a server is stopped or started.
-
-
Field Summary
-
Fields inherited from interface org.jboss.hal.ballroom.form.SuggestHandler
SHOW_ALL_VALUE
-
-
Constructor Summary
Constructors Constructor Description PathsAutoComplete()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidupdateOperation(Environment environment, Dispatcher dispatcher, StatementContext statementContext)Updates the static operation which is used by this typeahead.-
Methods inherited from class org.jboss.hal.ballroom.autocomplete.AutoComplete
attach, close, detach, setFormItem, showAll
-
-
-
-
Method Detail
-
updateOperation
public static void updateOperation(Environment environment, Dispatcher dispatcher, StatementContext statementContext)
Updates the static operation which is used by this typeahead.
-
-