Method | Description | |
---|---|---|
__construct ( ) | ||
countFailed ( ) : integer | ||
countFinished ( ) : integer | ||
countPending ( ) : integer | ||
countRunning ( ) : integer | ||
countStatus ( string $status ) : integer | ||
countSucceeded ( ) : integer | ||
createUnits ( array $features ) | Creates run units | |
denormalize ( Symfony\Component\Serializer\Normalizer\DenormalizerInterface $denormalizer, $data, $format = null, array $context = [] ) | ||
getCreatedAt ( ) : DateTime | null | ||
getDuration ( ) : DateInterval | ||
getFinishedAt ( ) : DateTime | ||
getId ( ) | ||
getProgress ( string $count = 100 ) : int[] | Returns an array of status progress, as integers. | |
getProjectName ( ) : string | Returns project's name. | |
getProperties ( ) : array | ||
getProperty ( string $name ) : mixed | Returns a property value. | |
getStartedAt ( ) : DateTime | null | ||
getStatus ( ) | ||
getTitle ( ) | ||
getUnits ( ) : |
||
isFailed ( ) : integer | ||
isFinished ( ) : integer | ||
isPending ( ) : boolean | ||
isRunning ( ) : boolean | ||
isSucceeded ( ) : integer | ||
normalize ( Symfony\Component\Serializer\Normalizer\NormalizerInterface $normalizer, $format = null, array $context = [] ) | ||
setCreatedAt ( DateTime $createdAt = null ) : |
||
setFinishedAt ( DateTime $finishedAt = null ) : |
||
setId ( string $id ) : |
Changes ID. | |
setProjectName ( string $projectName ) : |
Changes the project name. | |
setProperties ( array $properties ) : |
||
setProperty ( string $name, mixed $value ) : |
Changes a run property. | |
setStartedAt ( DateTime $startedAt = null ) : |
||
setTitle ( $title ) | ||
setUnits ( |
Changes the unit collection. |
public countStatus ( string $status ) : integer | ||
$status | string | a status (pending, running, succeeded, failed) |
return | integer |
public createUnits ( array $features ) | ||
$features | array |
public denormalize ( Symfony\Component\Serializer\Normalizer\DenormalizerInterface $denormalizer, $data, $format = null, array $context = [] ) | ||
$denormalizer | Symfony\Component\Serializer\Normalizer\DenormalizerInterface | |
$context | array |
public getProgress ( string $count = 100 ) : int[] | ||
$count | string | number of count to distribute |
return | int[] |
public getProjectName ( ) : string | ||
return | string |
public getProperty ( string $name ) : mixed | ||
$name | string | a property name |
return | mixed |
public setCreatedAt ( DateTime $createdAt = null ) : |
||
$createdAt | DateTime | |
return |
public setFinishedAt ( DateTime $finishedAt = null ) : |
||
$finishedAt | DateTime | |
return |
public setProjectName ( string $projectName ) : |
||
$projectName | string | a project name |
return |
public setProperties ( array $properties ) : |
||
$properties | array | |
return |
public setProperty ( string $name, mixed $value ) : |
||
$name | string | the property to change |
$value | mixed | the value to set |
return |
public setStartedAt ( DateTime $startedAt = null ) : |
||
$startedAt | DateTime | |
return |
public setUnits ( |
||
$units | units to replace with | |
return |