Archive (TStereotypeClassQueue)
<source lang='delphi'>procedure Archive;</source>
Cette méthode modifie l'état de l'objet à cstQUEUE_STATE_ARCHIVED.
Exemple :
<source lang='delphi'>
function MyProcesss.ProcessReadyJob(const Atopic:string):Boolean; var AJob:JobQueue; begin
AJob := JobQueue.DeQueue(ATopic); if Assigned(AJob) and ICanProcessThisObject(AJob) then begin // I can't process this one now so i requeue it // doProcess(AJob); AJob.Archive(); end;
end; </source>
Voir aussi
{{#if:Classe_file_d'attente_(stereotype)|
{{#if:Classe_file_d'attente_(stereotype)|— Classe_file_d'attente_(stereotype) |}} — Développement DSM —
|
{{#if:|— [[{{{1}}}]] |}} — Développement DSM —
}}