Interface PlatformPackageService.PlatformPackageResult<T>

Type Parameters:
T - the context object type
All Known Implementing Classes:
BasicPlatformPackageResult
Enclosing interface:
PlatformPackageService

public static interface PlatformPackageService.PlatformPackageResult<T>
The results of performing an action on a package.
  • Method Details

    • isSuccess

      boolean isSuccess()
      Get the success flag.
      Returns:
      true if the package was extracted successfully
    • getMessage

      String getMessage()
      Get a result message.
      Returns:
      a result message (or null)
    • getException

      Throwable getException()
      Get a result exception.
      Returns:
      an exception, or null if no exception occurred
    • getExtractedPaths

      List<Path> getExtractedPaths()
      Get a complete list of files installed from the package.
      Returns:
      the extracted paths, or null if nothing installed
    • getContext

      T getContext()
      Get the context object.
      Returns:
      the context object