Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F76487031
HarbormasterBuildRequest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Aug 8, 06:07
Size
1006 B
Mime Type
text/x-php
Expires
Sat, Aug 10, 06:07 (2 d)
Engine
blob
Format
Raw Data
Handle
19721787
Attached To
rPH Phabricator
HarbormasterBuildRequest.php
View Options
<?php
/**
* Structure used to ask Harbormaster to start a build.
*
* Requests to start builds sometimes originate several layers away from where
* they are processed. For example, Herald rules which start builds pass the
* requests through the adapter and then through the editor before they reach
* Harbormaster.
*
* This class is just a thin wrapper around these requests so we can make them
* more complex later without needing to rewrite any APIs.
*/
final
class
HarbormasterBuildRequest
extends
Phobject
{
private
$buildPlanPHID
;
private
$buildParameters
=
array
();
public
function
setBuildPlanPHID
(
$build_plan_phid
)
{
$this
->
buildPlanPHID
=
$build_plan_phid
;
return
$this
;
}
public
function
getBuildPlanPHID
()
{
return
$this
->
buildPlanPHID
;
}
public
function
setBuildParameters
(
array
$build_parameters
)
{
$this
->
buildParameters
=
$build_parameters
;
return
$this
;
}
public
function
getBuildParameters
()
{
return
$this
->
buildParameters
;
}
}
Event Timeline
Log In to Comment