PHP 클래스 DataSift\Storyplayer\PlayerLib\PhaseGroup_Result

저자: Stuart Herbert ([email protected])
파일 보기 프로젝트 열기: datasift/storyplayer 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$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?

공개 메소드들

메소드 설명
__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

보호된 메소드들

메소드 설명
setEndTime ( ) : void

메소드 상세

__construct() 공개 메소드

public __construct ( $name )

getDuration() 공개 메소드

public getDuration ( ) : float
리턴 float

getPhaseGroupFailed() 공개 메소드

public getPhaseGroupFailed ( ) : boolean
리턴 boolean

getPhaseGroupSkipped() 공개 메소드

public getPhaseGroupSkipped ( ) : boolean
리턴 boolean

getPhaseGroupSucceeded() 공개 메소드

public getPhaseGroupSucceeded ( ) : boolean
리턴 boolean

getResultString() 공개 메소드

public getResultString ( ) : string
리턴 string

setActivity() 공개 메소드

public setActivity ( $activity ) : void
리턴 void

setEndTime() 보호된 메소드

protected setEndTime ( ) : void
리턴 void

setPhaseGroupHasBeenBlacklisted() 공개 메소드

public setPhaseGroupHasBeenBlacklisted ( $phaseResult ) : void
리턴 void

setPhaseGroupHasBeenSkipped() 공개 메소드

public setPhaseGroupHasBeenSkipped ( ) : void
리턴 void

setPhaseGroupHasError() 공개 메소드

public setPhaseGroupHasError ( $phaseResult ) : void
리턴 void

setPhaseGroupHasFailed() 공개 메소드

public setPhaseGroupHasFailed ( $phaseResult ) : void
리턴 void

setPhaseGroupHasSucceeded() 공개 메소드

public setPhaseGroupHasSucceeded ( ) : void
리턴 void

setPhaseGroupIsIncomplete() 공개 메소드

public setPhaseGroupIsIncomplete ( $phaseResult ) : void
리턴 void

프로퍼티 상세

$activity 공개적으로 프로퍼티

the reason that the PhaseGroup is running at all
public string $activity
리턴 string

$durationTime 공개적으로 프로퍼티

how long did the story take to play?
public float $durationTime
리턴 float

$endTime 공개적으로 프로퍼티

when did we finish playing this story?
public float $endTime
리턴 float

$failedPhase 공개적으로 프로퍼티

public PhaseResult $failedPhase
리턴 PhaseResult

$filename 공개적으로 프로퍼티

which file is this PhaseGroup_Result associated with?
public string $filename
리턴 string

$name 공개적으로 프로퍼티

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

$resultCode 공개적으로 프로퍼티

did the story pass, fail, or otherwise go horribly wrong?
public int $resultCode
리턴 integer

$resultStrings 공개적으로 프로퍼티

public $resultStrings

$startTime 공개적으로 프로퍼티

when did we start playing this story?
public float $startTime
리턴 float