ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
class.ilCertificateMigrationJobDefinitions.php
Go to the documentation of this file.
1
<?
php
2
/*
3
+----------------------------------------------------------------------------+
4
| ILIAS open source |
5
+----------------------------------------------------------------------------+
6
| Copyright (c) 1998-2001 ILIAS open source, University of Cologne |
7
| |
8
| This program is free software; you can redistribute it and/or |
9
| modify it under the terms of the GNU General Public License |
10
| as published by the Free Software Foundation; either version 2 |
11
| of the License, or (at your option) any later version. |
12
| |
13
| This program is distributed in the hope that it will be useful, |
14
| but WITHOUT ANY WARRANTY; without even the implied warranty of |
15
| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16
| GNU General Public License for more details. |
17
| |
18
| You should have received a copy of the GNU General Public License |
19
| along with this program; if not, write to the Free Software |
20
| Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
21
+----------------------------------------------------------------------------+
22
*/
23
28
class
ilCertificateMigrationJobDefinitions
29
{
30
// table name for ilCertificateMigrationJob
31
const
CERT_MIGRATION_JOB_TABLE
=
'il_cert_bgtask_migr'
;
32
// task was not started yet
33
const
CERT_MIGRATION_STATE_INIT
=
'not started'
;
34
// task was started but is not running yet, maybe this will never be seen
35
const
CERT_MIGRATION_STATE_STARTED
=
'started'
;
36
// task is currently running
37
const
CERT_MIGRATION_STATE_RUNNING
=
'running'
;
38
// task was stopped manually or by timeout
39
const
CERT_MIGRATION_STATE_STOPPED
=
'stopped'
;
40
// task has finished
41
const
CERT_MIGRATION_STATE_FINISHED
=
'finished'
;
42
// task has stopped because something failed
43
const
CERT_MIGRATION_STATE_FAILED
=
'failed'
;
44
45
// job has run successful
46
const
CERT_MIGRATION_RETURN_SUCCESS
= 200;
47
// job execution was stopped because it is already running
48
const
CERT_MIGRATION_RETURN_ALREADY_RUNNING
= 201;
49
// job execution was stopped because it is locked
50
const
CERT_MIGRATION_RETURN_LOCKED
= 202;
51
}
php
An exception for terminatinating execution or to throw for unit testing.
ilCertificateMigrationJobDefinitions
Class ilCertificateMigrationJobDefinitions.
Definition:
class.ilCertificateMigrationJobDefinitions.php:29
ilCertificateMigrationJobDefinitions\CERT_MIGRATION_STATE_INIT
const CERT_MIGRATION_STATE_INIT
Definition:
class.ilCertificateMigrationJobDefinitions.php:33
ilCertificateMigrationJobDefinitions\CERT_MIGRATION_RETURN_SUCCESS
const CERT_MIGRATION_RETURN_SUCCESS
Definition:
class.ilCertificateMigrationJobDefinitions.php:46
ilCertificateMigrationJobDefinitions\CERT_MIGRATION_STATE_FAILED
const CERT_MIGRATION_STATE_FAILED
Definition:
class.ilCertificateMigrationJobDefinitions.php:43
ilCertificateMigrationJobDefinitions\CERT_MIGRATION_STATE_RUNNING
const CERT_MIGRATION_STATE_RUNNING
Definition:
class.ilCertificateMigrationJobDefinitions.php:37
ilCertificateMigrationJobDefinitions\CERT_MIGRATION_STATE_STOPPED
const CERT_MIGRATION_STATE_STOPPED
Definition:
class.ilCertificateMigrationJobDefinitions.php:39
ilCertificateMigrationJobDefinitions\CERT_MIGRATION_STATE_FINISHED
const CERT_MIGRATION_STATE_FINISHED
Definition:
class.ilCertificateMigrationJobDefinitions.php:41
ilCertificateMigrationJobDefinitions\CERT_MIGRATION_JOB_TABLE
const CERT_MIGRATION_JOB_TABLE
Definition:
class.ilCertificateMigrationJobDefinitions.php:31
ilCertificateMigrationJobDefinitions\CERT_MIGRATION_RETURN_LOCKED
const CERT_MIGRATION_RETURN_LOCKED
Definition:
class.ilCertificateMigrationJobDefinitions.php:50
ilCertificateMigrationJobDefinitions\CERT_MIGRATION_RETURN_ALREADY_RUNNING
const CERT_MIGRATION_RETURN_ALREADY_RUNNING
Definition:
class.ilCertificateMigrationJobDefinitions.php:48
ilCertificateMigrationJobDefinitions\CERT_MIGRATION_STATE_STARTED
const CERT_MIGRATION_STATE_STARTED
Definition:
class.ilCertificateMigrationJobDefinitions.php:35
Services
Certificate
classes
BackgroundTasks
class.ilCertificateMigrationJobDefinitions.php
Generated on Thu Oct 2 2025 19:01:45 for ILIAS by
1.9.4 (using
Doxyfile
)