com.opensymphony.xwork2

## Interface Result

- All Superinterfaces:
    Result, Serializable
  All Known Subinterfaces:
    PlainResult

  Deprecated.
  since 6.7.0, use `Result` instead.

      @Deprecated
      public interface Result
      extends Result

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Interface and Description
    --- | ---
    `static class` | `Result.LegacyAdapter` Deprecated.

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Result` | `adapt(Result actualResult)` Deprecated.
    `default void` | `execute(ActionInvocation invocation)` Deprecated. Represents a generic interface for all action execution results.
    `void` | `execute(ActionInvocation invocation)` Deprecated.

- - ### Method Detail

    - #### execute

          default void execute(ActionInvocation invocation)
                        throws Exception

      Deprecated.
      Description copied from interface: `Result`
      Represents a generic interface for all action execution results. Whether that be displaying a webpage, generating an email, sending a JMS message, etc.
      Specified by:
        `execute` in interface `Result`
      Parameters:
        `invocation` - the invocation context.
      Throws:
        `Exception` - can be thrown.

    - #### execute

          void execute(ActionInvocation invocation)
                throws Exception

      Deprecated.
      Throws:
        `Exception`

    - #### adapt

          static Result adapt(Result actualResult)

      Deprecated.

Copyright © 2000–2025 Apache Software Foundation. All rights reserved.