public interface PatchExecutionService
| Modifier and Type | Method and Description |
|---|---|
PatchExecutionModel |
createPatchExecution(Patch patch)
Creates patch execution for given
Patch. |
java.util.List<PatchExecutionModel> |
getExecutedPatches()
Returns list of all executed patches
|
PatchExecutionModel |
getLatestPatchExecutionById(java.lang.String patchId)
Returns the latest
PatchExecutionModel based on the execution time. |
PatchExecutionModel |
getPatchExecutionById(java.lang.String patchId)
Returns
PatchExecutionModel for specific patch id |
PatchExecutionModel |
getSessionPatchExecution()
Retrieves
PatchExecutionModel from Jalo session. |
void |
registerPatchExecution(PatchExecutionModel patch)
Sets execution time and status for patch execution and saves the
PatchExecutionModel. |
void |
registerPatchExecutionError(java.lang.String log)
Sets execution time, log message and
ExecutionStatus.ERROR status for
current patch execution stored in session and saves it. |
java.util.List<PatchExecutionModel> getExecutedPatches()
PatchExecutionModelPatchExecutionModel getPatchExecutionById(java.lang.String patchId)
PatchExecutionModel for specific patch idpatchId - patch IDPatchExecutionModel or null if not existsPatchExecutionModel getLatestPatchExecutionById(java.lang.String patchId)
PatchExecutionModel based on the execution time.patchId - patch IDPatchExecutionModel based on the execution timevoid registerPatchExecution(PatchExecutionModel patch)
PatchExecutionModel.patch - PatchExecutionModelvoid registerPatchExecutionError(java.lang.String log)
ExecutionStatus.ERROR status for
current patch execution stored in session and saves it.log - execution error logPatchExecutionModel createPatchExecution(Patch patch)
Patch.patch - PatchPatchExecutionModelPatchExecutionModel getSessionPatchExecution()
PatchExecutionModel from Jalo session.PatchExecutionModelCopyright © 2018 SAP SE. All Rights Reserved.