Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [%DeepSee] >  [CubeManager] >  [Task] >  [Build]
Private  Storage   

class %DeepSee.CubeManager.Task.Build extends %SYS.Task.Definition


Parameters Properties Methods Queries Indices ForeignKeys Triggers
1 2


%RunDate %RunTime

%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
GetCollectionType GetPropertyName GetSettings GetTaskName
OnSubmit OnTask Schedule SetSettings


• parameter TaskName = "Cube Manager Build";
This defines the user-visible name of this task; This is defined in subclasses.


• 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.
• classmethod Schedule(pSuspend=0, pTimePeriod=0, pTimePeriodEvery=1, pTimePeriodDay="", pStartTime=0) as %Status
This method will make sure the task is registered with the Task Manager to run on the schedule defined by the arguments.

If there is currently no task scheduled, this will create one, otherwise it will modify any pre-existing task. The default settings will run the build task once a day

Copyright (c) 2019 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.