ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
BasicBucketMeta.php
Go to the documentation of this file.
1
<?
php
2
3
namespace
ILIAS\BackgroundTasks\Implementation\Bucket
;
4
5
use
ILIAS\BackgroundTasks\BucketMeta
;
6
use
ILIAS\BackgroundTasks\Task
;
7
18
class
BasicBucketMeta
implements
BucketMeta
19
{
20
24
protected
$userId
;
28
protected
$state
;
32
protected
$title
=
""
;
36
protected
$description
=
""
;
40
protected
$percentage
= 0;
41
42
46
public
function
getUserId
()
47
{
48
return
$this->userId
;
49
}
50
51
55
public
function
setUserId
(
$userId
)
56
{
57
$this->userId =
$userId
;
58
}
59
60
64
public
function
getState
()
65
{
66
return
$this->state
;
67
}
68
69
73
public
function
setState
(
$state
)
74
{
75
$this->state =
$state
;
76
}
77
78
82
public
function
getTitle
()
83
{
84
return
$this->title
;
85
}
86
87
91
public
function
setTitle
(
$title
)
92
{
93
$this->title =
$title
;
94
}
95
96
100
public
function
getDescription
()
101
{
102
return
$this->description
;
103
}
104
105
109
public
function
setDescription
(
$description
)
110
{
111
$this->description =
$description
;
112
}
113
114
118
public
function
getPercentage
()
119
{
120
return
$this->percentage
;
121
}
122
123
130
public
function
setPercentage
(
Task
$task,
$percentage
)
131
{
132
throw
new \EmptyBucketException(
"You cannot set the percentage on an empty bucket."
);
133
}
134
135
139
public
function
getOverallPercentage
()
140
{
141
return
$this->percentage
;
142
}
143
144
149
public
function
setOverallPercentage
(
$percentage
)
150
{
151
$this->percentage =
$percentage
;
152
}
153
}
BucketMeta
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta
Definition:
BasicBucketMeta.php:18
ILIAS\BackgroundTasks\Task
Definition:
Task.php:21
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\getDescription
getDescription()
Definition:
BasicBucketMeta.php:100
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\$description
$description
Definition:
BasicBucketMeta.php:36
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\getTitle
getTitle()
Definition:
BasicBucketMeta.php:82
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\$title
$title
Definition:
BasicBucketMeta.php:32
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\$state
$state
Definition:
BasicBucketMeta.php:28
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\setTitle
setTitle($title)
Definition:
BasicBucketMeta.php:91
ILIAS\BackgroundTasks\Implementation\Bucket
Definition:
BasicBucket.php:3
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\setOverallPercentage
setOverallPercentage($percentage)
Definition:
BasicBucketMeta.php:149
ILIAS\BackgroundTasks\Task
Definition:
Job.php:3
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\$userId
$userId
Definition:
BasicBucketMeta.php:24
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\getUserId
getUserId()
Definition:
BasicBucketMeta.php:46
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\getPercentage
getPercentage()
Definition:
BasicBucketMeta.php:118
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\setUserId
setUserId($userId)
Definition:
BasicBucketMeta.php:55
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\setState
setState($state)
Definition:
BasicBucketMeta.php:73
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\getState
getState()
Definition:
BasicBucketMeta.php:64
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\setPercentage
setPercentage(Task $task, $percentage)
Definition:
BasicBucketMeta.php:130
php
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\$percentage
$percentage
Definition:
BasicBucketMeta.php:40
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\setDescription
setDescription($description)
Definition:
BasicBucketMeta.php:109
ILIAS\BackgroundTasks\Implementation\Bucket\BasicBucketMeta\getOverallPercentage
getOverallPercentage()
Definition:
BasicBucketMeta.php:139
ILIAS\BackgroundTasks\BucketMeta
Definition:
BucketMeta.php:12
src
BackgroundTasks
Implementation
Bucket
BasicBucketMeta.php
Generated on Thu Jan 30 2025 19:02:10 for ILIAS by
1.8.13 (using
Doxyfile
)