Class UpgradeResult
java.lang.Object
com.appiancorp.suiteapi.process.upgrade.UpgradeResult
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 Summary
ConstructorDescriptionUpgradeResult
(ProcessUpgrade[] results) Creates an instance containing the specified results.UpgradeResult
(Collection<ProcessUpgrade> results) Creates an instance containing the specified results. -
Method Summary
Modifier and TypeMethodDescriptionGets the contained per-process upgrade results.Gets the contained ProcessUpgrade objects, mapped by process id.
-
Constructor Details
-
UpgradeResult
Creates an instance containing the specified results.- Parameters:
results
- the individual results (per process) of the attempted upgrade of a set of processes
-
UpgradeResult
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
Gets the contained per-process upgrade results.- Returns:
- the individual results (per process) of the attempted upgrade of the set of processes
-
getResultsByProcessId
Gets the contained ProcessUpgrade objects, mapped by process id.- Returns:
- a Map of process id to ProcessUpgrade
-