Package com.evolveum.midpoint.task.api
Interface RunningLightweightTask
-
- All Superinterfaces:
DebugDumpable
,IterativeOperationCollector
,MappingStatisticsCollector
,NotificationStatisticsCollector
,ObjectActionsCollector
,ProvisioningStatisticsCollector
,RunningTask
,RunningTaskStatisticsCollector
,StatisticsCollector
,StructuredProgressCollector
,SynchronizationInformationCollector
,Task
public interface RunningLightweightTask extends RunningTask
Running lightweight asynchronous task.
-
-
Field Summary
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
Fields inherited from interface com.evolveum.midpoint.task.api.Task
DOT_INTERFACE
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull LightweightTaskHandler
getLightweightTaskHandler()
Returns the task handler.RunningTask
getLightweightTaskParent()
Returns the in-memory version of the parent task.boolean
lightweightHandlerStartRequested()
Was the task requested to start? (It may or may not actually started.)void
startLightweightHandler()
Request the start of the execution of this task's handler.-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.schema.statistics.IterativeOperationCollector
getLastFailures, recordIterativeOperationStart, recordIterativeOperationStart, recordIterativeOperationStart, recordPartExecutionEnd, resetIterativeTaskInformation
-
Methods inherited from interface com.evolveum.midpoint.schema.statistics.MappingStatisticsCollector
recordMappingOperation
-
Methods inherited from interface com.evolveum.midpoint.schema.statistics.NotificationStatisticsCollector
recordNotificationOperation
-
Methods inherited from interface com.evolveum.midpoint.schema.statistics.ObjectActionsCollector
markObjectActionExecutedBoundary, recordObjectActionExecuted, recordObjectActionExecuted, recordObjectActionExecuted, resetActionsExecutedInformation
-
Methods inherited from interface com.evolveum.midpoint.schema.statistics.ProvisioningStatisticsCollector
recordProvisioningOperation
-
Methods inherited from interface com.evolveum.midpoint.task.api.RunningTask
canRun, createSubtask, deleteLightweightAsynchronousSubtasks, getAndIncrementObjectsSeen, getLightweightAsynchronousSubtasks, getRootTaskOid, getRunnableOrRunningLightweightAsynchronousSubtasks, getRunningLightweightAsynchronousSubtasks, requestTracingIfNeeded, startDynamicProfilingIfNeeded, stopDynamicProfiling, stopTracing
-
Methods inherited from interface com.evolveum.midpoint.task.api.RunningTaskStatisticsCollector
incrementProgressAndStoreStatisticsIfTimePassed, refreshThreadLocalStatistics, setStatisticsRepoStoreInterval, startCollectingStatistics, storeStatisticsIntoRepository, storeStatisticsIntoRepositoryIfTimePassed, updateAndStoreStatisticsIntoRepository, updateStatisticsInTaskPrism
-
Methods inherited from interface com.evolveum.midpoint.schema.statistics.StatisticsCollector
recordStateMessage
-
Methods inherited from interface com.evolveum.midpoint.schema.statistics.StructuredProgressCollector
changeStructuredProgressOnWorkBucketCompletion, incrementStructuredProgress, markAllStructuredProgressClosed, markStructuredProgressAsComplete, setStructuredProgressPartInformation
-
Methods inherited from interface com.evolveum.midpoint.schema.statistics.SynchronizationInformationCollector
onSynchronizationExclusion, onSynchronizationSituationChange, onSynchronizationStart, onSyncItemProcessingEnd, onSyncItemProcessingStart, resetSynchronizationInformation
-
Methods inherited from interface com.evolveum.midpoint.task.api.Task
addArchetypeInformation, addArchetypeInformationIfMissing, addDependent, addExtensionProperty, addExtensionReference, addTracingRequest, createSubtask, deleteExtensionProperty, flushPendingModifications, getAggregatedLiveOperationStats, getBinding, getCachingProfiles, getCategory, getChannel, getCompletionTimestamp, getDependents, getDescription, getErrorHandlingStrategy, getExecutionConstraints, getExecutionEnvironment, getExecutionState, getExpectedTotal, getExtensionClone, getExtensionContainerRealValueOrClone, getExtensionItemOrClone, getExtensionOrClone, getExtensionPropertyOrClone, getExtensionPropertyRealValue, getExtensionReferenceOrClone, getGroup, getGroups, getGroupsWithLimits, getHandlerUri, getKind, getLastRunFinishTimestamp, getLastRunStartTimestamp, getModelOperationContext, getName, getNextRunStartTime, getNode, getNodeAsObserved, getObject, getObjectOid, getObjectRefOrClone, getOid, getOrCreateExtension, getOwner, getOwnerRef, getParent, getParentTask, getPathToRootTask, getPersistenceStatus, getPolicyRule, getProgress, getRawTaskObjectClone, getRawTaskObjectClonedIfNecessary, getRecurrence, getRequestee, getResult, getResultStatus, getSchedule, getScheduleInterval, getSchedulingState, getSelfReference, getStoredOperationStatsOrClone, getStructuredProgressOrClone, getTaskIdentifier, getThreadStopAction, getTracingProfile, getTracingRequestedFor, getUpdatedTaskObject, getVersion, getWaitingReason, getWorkManagement, getWorkState, hasAssignments, hasScheduleInterval, incrementProgressTransient, isAsynchronous, isClosed, isLooselyBound, isPersistent, isReady, isRecurring, isRunnable, isRunning, isScavenger, isSingle, isSuspended, isTightlyBound, isTransient, isWaiting, listDependents, listPrerequisiteTasks, listSubtasks, listSubtasks, listSubtasksDeeply, listSubtasksDeeply, makeSingle, makeSingle, modify, modify, refresh, removeTracingRequests, setCategory, setChannel, setDescription, setDescriptionImmediate, setExecutionConstraints, setExecutionEnvironment, setExpectedTotal, setExtensionContainer, setExtensionContainerValue, setExtensionItem, setExtensionProperty, setExtensionPropertyImmediate, setExtensionPropertyValue, setExtensionReference, setHandlerUri, setInitialExecutionAndScheduledState, setInitiallyRunnable, setInitiallySuspended, setInitiallyWaitingForPrerequisites, setModelOperationContext, setName, setName, setNameImmediate, setObjectRef, setObjectRef, setOwner, setOwnerRef, setProgress, setProgressImmediate, setRequesteeTransient, setResult, setThreadStopAction, setTracingProfile
-
-
-
-
Method Detail
-
getLightweightTaskParent
@Experimental RunningTask getLightweightTaskParent()
Returns the in-memory version of the parent task. Applicable only to lightweight subtasks. EXPERIMENTAL (use with care)
-
getLightweightTaskHandler
@NotNull @NotNull LightweightTaskHandler getLightweightTaskHandler()
Returns the task handler.
-
startLightweightHandler
void startLightweightHandler()
Request the start of the execution of this task's handler. The handler is executed asynchronously.
-
lightweightHandlerStartRequested
boolean lightweightHandlerStartRequested()
Was the task requested to start? (It may or may not actually started.)
-
-