%SYS.Task.PurgeTaskHistory
class %SYS.Task.PurgeTaskHistory extends %SYS.Task.Definition
Property Inventory
Method Inventory
Parameters
parameter TaskName = PurgeTaskHistory;
Inherited description: This defines the user-visible name of this task.
It is defined in the subclasses.
Properties
property KeepDays as %Integer (MINVAL = 1);
# of Log History Days to keep not including current day, minimum value is 1
Property methods: KeepDaysDisplayToLogical(), KeepDaysGet(), KeepDaysIsValid(), KeepDaysLogicalToDisplay(), KeepDaysNormalize(), KeepDaysSet()
Methods
method OnTask() as %Status
This method is responsible for executing the task.
At the scheduled time, the Task Manager creates an instance of this object, sets any property values using the stored "settings" for the task, and then invokes this method to execute the task.
In order to execute a real task, override this method in a subclass.
At the scheduled time, the Task Manager creates an instance of this object, sets any property values using the stored "settings" for the task, and then invokes this method to execute the task.
In order to execute a real task, override this method in a subclass.
Inherited Members
Inherited Properties
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()
- CheckPermission()
- GetCollectionType()
- GetPropertyName()
- GetSettings()
- GetTaskName()
- OnSubmit()
- SetSettings()