Package edu.wpi.grip.core.settings
Interface SettingsProvider
-
- All Known Implementing Classes:
Pipeline
public interface SettingsProvider
Provides access to the project's settings. This should be injected to get access to the settings.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AppSettings
getAppSettings()
Gets the current global app settings.CodeGenerationSettings
getCodeGenerationSettings()
Gets the current code generation settings.ProjectSettings
getProjectSettings()
This object may become out of date if the settings are edited by the user, so objects requiring a preference value should also subscribe toProjectSettingsChangedEvent
to get updates.
-
-
-
Method Detail
-
getProjectSettings
ProjectSettings getProjectSettings()
This object may become out of date if the settings are edited by the user, so objects requiring a preference value should also subscribe toProjectSettingsChangedEvent
to get updates.- Returns:
- The current per-project settings.
-
getAppSettings
AppSettings getAppSettings()
Gets the current global app settings. This object may become out of date if the settings are edited by the user, so objects requiring a preference value should also subscribe toAppSettingsChangedEvent
to get updates.- Returns:
- the current global app settings
-
getCodeGenerationSettings
CodeGenerationSettings getCodeGenerationSettings()
Gets the current code generation settings. This object may become out of date if the settings are edited by the user, so objects requiring a preference value should also subscribe toAppSettingsChangedEvent
to get updates.- Returns:
- the current code generation settings
-
-