Package com.illumon.iris.console.events
Class InWorkerServiceConfigPanel
java.lang.Object
com.illumon.iris.console.events.InWorkerServiceConfigPanel
- All Implemented Interfaces:
TypeSpecificConfigPanel
TypeSpecificConfigPanel implementation for in-worker services. This includes logic to update script information and other editor
parameters based on the chosen service type.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
getNewScriptText
(String scriptLanguage) Called when a query type is selected for a script without git selected, and without any script code.Determine if this type-specific panel currently requires a script.boolean
isChanged
(PersistentQueryConfiguration initialConfig) void
populateConfigurationFromPanel
(PersistentQueryConfiguration modifiedConfig) void
populatePanelFromConfiguration
(PersistentQueryConfiguration initialConfig) void
setActivate
(ConfigEditorInterface configEditor, boolean active) void
setEditable
(boolean isEditable) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.iris.controller.TypeSpecificConfigPanel
init, validate
-
Method Details
-
getComponent
- Specified by:
getComponent
in interfaceTypeSpecificConfigPanel
-
populatePanelFromConfiguration
- Specified by:
populatePanelFromConfiguration
in interfaceTypeSpecificConfigPanel
-
populateConfigurationFromPanel
- Specified by:
populateConfigurationFromPanel
in interfaceTypeSpecificConfigPanel
-
setEditable
public void setEditable(boolean isEditable) - Specified by:
setEditable
in interfaceTypeSpecificConfigPanel
-
isChanged
- Specified by:
isChanged
in interfaceTypeSpecificConfigPanel
-
setActivate
- Specified by:
setActivate
in interfaceTypeSpecificConfigPanel
-
dispose
public void dispose()- Specified by:
dispose
in interfaceTypeSpecificConfigPanel
-
hasScript
Description copied from interface:TypeSpecificConfigPanel
Determine if this type-specific panel currently requires a script. This is only applicable if a type-specific panel may or may not require a script.- Specified by:
hasScript
in interfaceTypeSpecificConfigPanel
- Returns:
- null if it is not applicable or not determined, true if it currently requires a script, false if it does not currently require a script
-
getNewScriptText
Description copied from interface:TypeSpecificConfigPanel
Called when a query type is selected for a script without git selected, and without any script code. If a default script is desired, this should provide it.- Specified by:
getNewScriptText
in interfaceTypeSpecificConfigPanel
- Parameters:
scriptLanguage
- the language for the new script text- Returns:
- a starting script, or null if none is needed
-
$$$getRootComponent$$$
- Noinspection:
- ALL
-