# AskUserFailureDefaults

Import: `import com.install4j.api.beaninfo.AskUserFailureDefaults;`

```java
public class 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:**

- [FailureStrategy.ASK_USER](FailureStrategy.md#ask-user)

## Methods

| Signature | Returns | Description |
|---|---|---|
| [`isAskRetry()`](#isaskretry) | `boolean` | Returns if "Ask whether to retry the action" option should be selected by default. |
| [`isAskQuit()`](#isaskquit) | `boolean` | Returns if the "Ask whether to quit" option should be selected by default. |
| [`isAskIgnore()`](#isaskignore) | `boolean` | Returns if "Ask whether to ignore the failure" option should be selected by default. |

### isAskRetry()

```java
public boolean isAskRetry()
```

Returns if "Ask whether to retry the action" option should be selected by default.


**Returns:** `true` or `false`

### isAskQuit()

```java
public boolean isAskQuit()
```

Returns if the "Ask whether to quit" option should be selected by default.


**Returns:** `true` or `false`

### isAskIgnore()

```java
public boolean isAskIgnore()
```

Returns if "Ask whether to ignore the failure" option should be selected by default.


**Returns:** `true` or `false`

## Constructors

| Signature | Description |
|---|---|
| [`AskUserFailureDefaults(boolean, boolean, boolean)`](#askuserfailuredefaults-boolean-boolean-boolean) | Construct a configuration object for the default selections in the IDE. |

### AskUserFailureDefaults(boolean, boolean, boolean)

```java
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 default
- `askQuit` — whether the "Ask whether to retry the action" option should be selected by default
- `askIgnore` — whether the "Ask whether to ignore the failure" option should be selected by default

