Package com.install4j.api.beaninfo
Class AskUserFailureDefaults
java.lang.Object
com.install4j.api.beaninfo.AskUserFailureDefaults
Configuration class to set the default selection values of the possible answers for the "Ask user"
failure strategy when configuring actions in the install4j IDE.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAskUserFailureDefaults
(boolean askRetry, boolean askQuit, boolean askIgnore) Construct a configuration object for the default selections in the IDE. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns if "Ask whether to ignore the failure" option should be selected by default.boolean
Returns if "Ask whether to quit" option should be selected by default.boolean
Returns if "Ask whether to retry the action" option should be selected by default.
-
Constructor Details
-
AskUserFailureDefaults
public AskUserFailureDefaults(boolean askRetry, boolean askQuit, boolean askIgnore) Construct a configuration object for the default selections in the IDE.- Parameters:
askRetry
- whether the "Ask whether to quit" option should be selected by defaultaskQuit
- whether the "Ask whether to retry the action" option should be selected by defaultaskIgnore
- whether the "Ask whether to ignore the failure" option should be selected by default
-
-
Method Details
-
isAskRetry
public boolean isAskRetry()Returns if "Ask whether to retry the action" option should be selected by default.- Returns:
true
orfalse
-
isAskQuit
public boolean isAskQuit()Returns if "Ask whether to quit" option should be selected by default.- Returns:
true
orfalse
-
isAskIgnore
public boolean isAskIgnore()Returns if "Ask whether to ignore the failure" option should be selected by default.- Returns:
true
orfalse
-