public class AiCapabilitiesSettingStore extends BundleSettingStore
The project's master switch for its AI features (AI failure reason analysis, AI self-healing). Each feature keeps its own setting; this flag only decides whether any of them runs. Absent, i.e. in every project created before it existed, it is on.
| Modifiers | Name | Description |
|---|---|---|
static boolean |
DEFAULT_ENABLED |
| Fields inherited from class | Fields |
|---|---|
class BundleSettingStore |
bundleId, parentSettingFolder, projectDir |
| Constructor and description |
|---|
AiCapabilitiesSettingStore
(String projectDir) |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static AiCapabilitiesSettingStore |
getStore(String projectDir) |
|
public boolean |
isEnabled() |
|
public boolean |
isFeatureEnabled(boolean featureEnabled, String featureCliKeys)Whether a feature runs, given its own setting. |
|
public void |
setEnabled(boolean enabled) |
| Methods inherited from class | Name |
|---|---|
class BundleSettingStore |
getBoolean, getInt, getPropertyFile, getPropertyWebuiFile, getString, getStringProperty, getWebuiString, removeProperties, setProperty, setProperty, setProperty, setProperty, setStringProperty, setWebuiProperty |
Whether a feature runs, given its own setting. The master flag only switches features off; a feature that is off stays off. An explicit command-line override of the feature wins over the master flag, so a KRE command that turns one feature on keeps working in a project whose AI is switched off.
featureEnabled - the feature's own resolved value (command-line override already applied)featureCliKeys - every command-line key that can set that feature