public class DefaultPatchExecutionUnitTrackingStrategy extends java.lang.Object implements PatchExecutionUnitTrackingStrategy
ExecutionUnitType equals to
ExecutionUnitType.ACTION. Would be used if no custom Patch Execution Unit tracking strategy is defined.| Modifier and Type | Field and Description |
|---|---|
protected ExecutionUnitType |
executionUnitType |
protected ModelService |
modelService |
protected PatchExecutionService |
patchExecutionService |
protected TimeService |
timeService |
| Constructor and Description |
|---|
DefaultPatchExecutionUnitTrackingStrategy() |
| Modifier and Type | Method and Description |
|---|---|
void |
setExecutionUnitType(ExecutionUnitType executionUnitType) |
void |
setModelService(ModelService modelService) |
void |
setPatchExecutionService(PatchExecutionService patchExecutionService) |
void |
setTimeService(TimeService timeService) |
void |
trackAfterPerform(PatchExecutionUnitModel patchExecutionUnit,
PatchActionData patchActionData,
java.lang.Throwable ex)
Method executed after real method invocation.
|
PatchExecutionUnitModel |
trackBeforePerform(PatchActionData patchActionData)
Method executed before real method invocation.
|
protected TimeService timeService
protected ModelService modelService
protected PatchExecutionService patchExecutionService
protected ExecutionUnitType executionUnitType
public DefaultPatchExecutionUnitTrackingStrategy()
public PatchExecutionUnitModel trackBeforePerform(PatchActionData patchActionData)
PatchExecutionUnitTrackingStrategyPatchExecutionUnitModel and fills it with all
data.trackBeforePerform in interface PatchExecutionUnitTrackingStrategypatchActionData - PatchActionDataPatchExecutionUnitModelpublic void trackAfterPerform(PatchExecutionUnitModel patchExecutionUnit, PatchActionData patchActionData, java.lang.Throwable ex)
PatchExecutionUnitTrackingStrategyPatchExecutionUnitModel with all
necessary data.trackAfterPerform in interface PatchExecutionUnitTrackingStrategypatchExecutionUnit - PatchExecutionUnitModelpatchActionData - PatchActionDataex - Throwablepublic void setTimeService(TimeService timeService)
public void setModelService(ModelService modelService)
public void setPatchExecutionService(PatchExecutionService patchExecutionService)
public void setExecutionUnitType(ExecutionUnitType executionUnitType)
Copyright © 2018 SAP SE. All Rights Reserved.