-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathContentReleaseOverviewRow.php
More file actions
86 lines (71 loc) · 2.35 KB
/
ContentReleaseOverviewRow.php
File metadata and controls
86 lines (71 loc) · 2.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<?php
declare(strict_types=1);
namespace Flowpack\DecoupledContentStore\BackendUi\Dto;
use Flowpack\DecoupledContentStore\Core\Domain\ValueObject\ContentReleaseIdentifier;
use Flowpack\DecoupledContentStore\PrepareContentRelease\Dto\ContentReleaseMetadata;
use Neos\Flow\Annotations as Flow;
/**
* @Flow\Proxy(false)
*/
class ContentReleaseOverviewRow
{
private ContentReleaseIdentifier $contentReleaseIdentifier;
private ?ContentReleaseMetadata $metadata;
private int $enumeratedDocumentNodesCount;
private int $iterationsCount;
private int $errorCount;
private float $progress;
private int $renderedUrlCount;
private bool $isActive;
private float $releaseSize;
public function __construct(ContentReleaseIdentifier $contentReleaseIdentifier, ?ContentReleaseMetadata $metadata,
int $enumeratedDocumentNodesCount, int $iterationsCount, int $errorCount,
float $progress, int $renderedUrlCount, bool $isActive, float $releaseSize)
{
$this->contentReleaseIdentifier = $contentReleaseIdentifier;
$this->metadata = $metadata;
$this->enumeratedDocumentNodesCount = $enumeratedDocumentNodesCount;
$this->iterationsCount = $iterationsCount;
$this->errorCount = $errorCount;
$this->progress = $progress;
$this->renderedUrlCount = $renderedUrlCount;
$this->isActive = $isActive;
$this->releaseSize = $releaseSize;
}
public function getMetadata(): ?ContentReleaseMetadata
{
return $this->metadata;
}
public function getContentReleaseIdentifier(): ContentReleaseIdentifier
{
return $this->contentReleaseIdentifier;
}
public function getEnumeratedDocumentNodesCount(): int
{
return $this->enumeratedDocumentNodesCount;
}
public function getIterationsCount(): int
{
return $this->iterationsCount;
}
public function getErrorCount(): int
{
return $this->errorCount;
}
public function getProgress(): float
{
return $this->progress;
}
public function getRenderedUrlCount(): int
{
return $this->renderedUrlCount;
}
public function isActive(): bool
{
return $this->isActive;
}
public function getReleaseSize(): float
{
return $this->releaseSize;
}
}