Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F555751
HarbormasterBuildRequest.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
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
$initiatorPHID
;
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
;
}
public
function
setInitiatorPHID
(
$phid
)
{
$this
->
initiatorPHID
=
$phid
;
return
$this
;
}
public
function
getInitiatorPHID
()
{
return
$this
->
initiatorPHID
;
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Mon, May 12, 6:46 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
99913
Default Alt Text
HarbormasterBuildRequest.php (1 KB)
Attached To
Mode
rP Phorge
Attached
Detach File
Event Timeline
Log In to Comment