Class UpgradeResult

java.lang.Object
com.appiancorp.suiteapi.process.upgrade.UpgradeResult

public class UpgradeResult extends Object
This class is available as a preview of functionality that will be added to the supported public API in a future release. While it is in the preview phase, it is subject to change or removal without deprecation or notice. Although notice of change is not guaranteed, we will try to let developers know of major changes through announcements in release notes.

Represents the result of the attempted upgrade of a set of processes.

  • Constructor Details

    • UpgradeResult

      public UpgradeResult(ProcessUpgrade[] results)
      Creates an instance containing the specified results.
      Parameters:
      results - the individual results (per process) of the attempted upgrade of a set of processes
    • UpgradeResult

      public UpgradeResult(Collection<ProcessUpgrade> results)
      Creates an instance containing the specified results.
      Parameters:
      results - the individual results (per process) of the attempted upgrade of a set of processes
  • Method Details

    • getResults

      public ProcessUpgrade[] getResults()
      Gets the contained per-process upgrade results.
      Returns:
      the individual results (per process) of the attempted upgrade of the set of processes
    • getResultsByProcessId

      public Map<Long,ProcessUpgrade> getResultsByProcessId()
      Gets the contained ProcessUpgrade objects, mapped by process id.
      Returns:
      a Map of process id to ProcessUpgrade