PHP Class DataSift\Storyplayer\PlayerLib\PhaseGroup_Result

Afficher le fichier Open project: datasift/storyplayer Class Usage Examples

Méthodes publiques

Свойство Type Description
$activity string the reason that the PhaseGroup is running at all
$durationTime float how long did the story take to play?
$endTime float when did we finish playing this story?
$failedPhase PhaseResult
$filename string which file is this PhaseGroup_Result associated with?
$name string this is an end-user name (e.g. the name of the story) rather than the name of the internal class
$resultCode integer did the story pass, fail, or otherwise go horribly wrong?
$resultStrings
$startTime float when did we start playing this story?

Méthodes publiques

Méthode Description
__construct ( $name )
getDuration ( ) : float
getPhaseGroupFailed ( ) : boolean
getPhaseGroupSkipped ( ) : boolean
getPhaseGroupSucceeded ( ) : boolean
getResultString ( ) : string
setActivity ( $activity ) : void
setPhaseGroupHasBeenBlacklisted ( $phaseResult ) : void
setPhaseGroupHasBeenSkipped ( ) : void
setPhaseGroupHasError ( $phaseResult ) : void
setPhaseGroupHasFailed ( $phaseResult ) : void
setPhaseGroupHasSucceeded ( ) : void
setPhaseGroupIsIncomplete ( $phaseResult ) : void

Méthodes protégées

Méthode Description
setEndTime ( ) : void

Method Details

__construct() public méthode

public __construct ( $name )

getDuration() public méthode

public getDuration ( ) : float
Résultat float

getPhaseGroupFailed() public méthode

public getPhaseGroupFailed ( ) : boolean
Résultat boolean

getPhaseGroupSkipped() public méthode

public getPhaseGroupSkipped ( ) : boolean
Résultat boolean

getPhaseGroupSucceeded() public méthode

public getPhaseGroupSucceeded ( ) : boolean
Résultat boolean

getResultString() public méthode

public getResultString ( ) : string
Résultat string

setActivity() public méthode

public setActivity ( $activity ) : void
Résultat void

setEndTime() protected méthode

protected setEndTime ( ) : void
Résultat void

setPhaseGroupHasBeenBlacklisted() public méthode

public setPhaseGroupHasBeenBlacklisted ( $phaseResult ) : void
Résultat void

setPhaseGroupHasBeenSkipped() public méthode

public setPhaseGroupHasBeenSkipped ( ) : void
Résultat void

setPhaseGroupHasError() public méthode

public setPhaseGroupHasError ( $phaseResult ) : void
Résultat void

setPhaseGroupHasFailed() public méthode

public setPhaseGroupHasFailed ( $phaseResult ) : void
Résultat void

setPhaseGroupHasSucceeded() public méthode

public setPhaseGroupHasSucceeded ( ) : void
Résultat void

setPhaseGroupIsIncomplete() public méthode

public setPhaseGroupIsIncomplete ( $phaseResult ) : void
Résultat void

Property Details

$activity public_oe property

the reason that the PhaseGroup is running at all
public string $activity
Résultat string

$durationTime public_oe property

how long did the story take to play?
public float $durationTime
Résultat float

$endTime public_oe property

when did we finish playing this story?
public float $endTime
Résultat float

$failedPhase public_oe property

public PhaseResult $failedPhase
Résultat PhaseResult

$filename public_oe property

which file is this PhaseGroup_Result associated with?
public string $filename
Résultat string

$name public_oe property

this is an end-user name (e.g. the name of the story) rather than the name of the internal class
public string $name
Résultat string

$resultCode public_oe property

did the story pass, fail, or otherwise go horribly wrong?
public int $resultCode
Résultat integer

$resultStrings public_oe property

public $resultStrings

$startTime public_oe property

when did we start playing this story?
public float $startTime
Résultat float