Class BootstrapConfiguration
java.lang.Object
lu.kbra.modelizer_next.bootstrap.config.BootstrapConfiguration
Persisted bootstrap configuration, including the selected update channel and installed app state.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the update channel.booleanChecks whether auto check updates is enabled or applies.voidsetAutoCheckUpdates(boolean autoCheckUpdates) Sets the auto check updates.voidsetUpdateChannel(UpdateChannel updateChannel) Sets the update channel.
-
Constructor Details
-
BootstrapConfiguration
public BootstrapConfiguration()
-
-
Method Details
-
getUpdateChannel
Returns the update channel.- Returns:
- the update channel
-
isAutoCheckUpdates
public boolean isAutoCheckUpdates()Checks whether auto check updates is enabled or applies.- Returns:
trueif auto check updates is enabled or applies; otherwisefalse
-
setAutoCheckUpdates
public void setAutoCheckUpdates(boolean autoCheckUpdates) Sets the auto check updates.- Parameters:
autoCheckUpdates- whether auto check updates is enabled
-
setUpdateChannel
Sets the update channel.- Parameters:
updateChannel- update channel value used by the operation
-