---
title: "ReturnAction"
url: "https://reference.aspose.com/pdf/java/com.aspose.pdf/returnaction/"
product: "Aspose.PDF for Java API Reference"
description: "Enum represented a program workflow action in case of invoking the {@code IWarningCallback.Warning(WarningInfo)} method."
---

**Inheritance:**
java.lang.Object, java.lang.Enum < ReturnAction > com.aspose.pdf.ReturnAction, java.lang.Enum < ReturnAction >, com.aspose.pdf.ReturnAction

**All Implemented Interfaces:**
Serializable, Comparable < ReturnAction >

```
public enum ReturnAction extends Enum < ReturnAction >
```

Enum represented a program workflow action in case of invoking the {@code IWarningCallback.Warning(WarningInfo)} method.

## Fields

| Field | Description |
| --- | --- |
| [Abort](#Abort) | Used for abort flow. |
| [Continue](#Continue) | Used for continue flow. |

## Methods

| Method | Description |
| --- | --- |
| [valueOf](#valueOf-java.lang.String-) | Returns the enum constant of this type with the specified name. |
| [values](#values--) | Returns an array containing the constants of this enum type, in the order they are declared. |

### Abort {#Abort}
```
public static final ReturnAction Abort
```

Used for abort flow.

### Continue {#Continue}
```
public static final ReturnAction Continue
```

Used for continue flow.

### valueOf {#valueOf-java.lang.String-}
Returns the enum constant of this type with the specified name.

### values {#values--}
```
public static ReturnAction [] values()
```

Returns an array containing the constants of this enum type, in the order they are declared.

**Returns:**
an array containing the constants of this enum type, in the order they are declared
