Package com.evolveum.midpoint.common
Class ActivationComputer
java.lang.Object
com.evolveum.midpoint.common.ActivationComputer
- Author:
- semancik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ActivationStatusType
getClock()
getEffectiveStatus
(@Nullable String lifecycleStatus, @Nullable ActivationType activationBean, @Nullable TimeIntervalStatusType validityStatus, @Nullable LifecycleStateModelType stateModel) Never returnsActivationStatusType.ARCHIVED
.getEffectiveStatus
(String lifecycleStatus, ActivationType activationBean, LifecycleStateModelType stateModel) Never returnsActivationStatusType.ARCHIVED
.getValidityStatus
(ActivationType activationBean) getValidityStatus
(ActivationType activationBean, XMLGregorianCalendar referenceTime) boolean
lifecycleHasActiveAssignments
(String lifecycleStatus, LifecycleStateModelType stateModel, @NotNull TaskExecutionMode taskExecutionMode) void
void
setValidityAndEffectiveStatus
(String lifecycleStatus, @NotNull ActivationType activationBean, LifecycleStateModelType stateModel)
-
Constructor Details
-
ActivationComputer
public ActivationComputer() -
ActivationComputer
-
-
Method Details
-
getClock
-
setClock
-
getEffectiveStatus
public ActivationStatusType getEffectiveStatus(String lifecycleStatus, ActivationType activationBean, LifecycleStateModelType stateModel) Never returnsActivationStatusType.ARCHIVED
. -
getEffectiveStatus
public ActivationStatusType getEffectiveStatus(@Nullable @Nullable String lifecycleStatus, @Nullable @Nullable ActivationType activationBean, @Nullable @Nullable TimeIntervalStatusType validityStatus, @Nullable @Nullable LifecycleStateModelType stateModel) Never returnsActivationStatusType.ARCHIVED
. -
archivedToDisabled
-
getValidityStatus
-
getValidityStatus
public TimeIntervalStatusType getValidityStatus(ActivationType activationBean, XMLGregorianCalendar referenceTime) -
setValidityAndEffectiveStatus
public void setValidityAndEffectiveStatus(String lifecycleStatus, @NotNull @NotNull ActivationType activationBean, LifecycleStateModelType stateModel) -
lifecycleHasActiveAssignments
public boolean lifecycleHasActiveAssignments(String lifecycleStatus, LifecycleStateModelType stateModel, @NotNull @NotNull TaskExecutionMode taskExecutionMode)
-