Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1084524
SleepBuildStepImplementation.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
474 B
Referenced Files
None
Subscribers
None
SleepBuildStepImplementation.php
View Options
<?php
final
class
SleepBuildStepImplementation
extends
BuildStepImplementation
{
public
function
getName
()
{
return
pht
(
'Sleep'
);
}
public
function
getDescription
()
{
return
pht
(
'Sleep for a specified number of seconds.'
);
}
public
function
execute
(
HarbormasterBuild
$build
)
{
$settings
=
$this
->
getSettings
();
sleep
(
$settings
[
'seconds'
]);
}
public
function
getSettingDefinitions
()
{
return
array
(
'seconds'
=>
array
());
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Jun 29, 11:25 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
266293
Default Alt Text
SleepBuildStepImplementation.php (474 B)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment