public function __get($name)Inherited
public function __get($name)
Inherited
Parameters
$name |
Return
wild |
public function __set($name, $value)Inherited
public function __set($name, $value)
Inherited
Parameters
$name | ||
$value |
Return
wild |
public function current()Inherited
public function current()
Inherited
Return
wild |
public function key()Inherited
public function key()
Inherited
Return
wild |
public function next()Inherited
public function next()
Inherited
Return
wild |
public function rewind()Inherited
public function rewind()
Inherited
Return
wild |
public function valid()Inherited
public function valid()
Inherited
Return
wild |
private function throwOnAttemptedIteration()Inherited
private function throwOnAttemptedIteration()
Inherited
Return
wild |
public function getPhobjectClassConstant($key, $byte_limit)Inherited
public function getPhobjectClassConstant($key, $byte_limit)
Inherited
Phobject
Read the value of a class constant.
This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.
Parameters
string | $key | Name of the constant. |
int|null | $byte_limit | Maximum number of bytes permitted in the value. |
Return
string | Value of the constant. |
public function setViewer($viewer)
public function setViewer($viewer)
Parameters
PhabricatorUser | $viewer |
Return
wild |
public function getViewer()
public function getViewer()
Return
wild |
public function setObject($object)
public function setObject($object)
Parameters
HarbormasterBuildableInterface | $object |
Return
wild |
public function getObject()
public function getObject()
Return
wild |
public function setAutoTargetKeys($auto_keys)
public function setAutoTargetKeys($auto_keys)
Parameters
array | $auto_keys |
Return
wild |
public function getAutoTargetKeys()
public function getAutoTargetKeys()
Return
wild |
public function buildTargets()
public function buildTargets()
Return
wild |
private function generateBuildStepMap($autotargets)
private function generateBuildStepMap($autotargets)
Get a map of the HarbormasterBuildStep objects for a list of autotarget keys.
This method creates the steps if they do not yet exist.
Parameters
list<string> | $autotargets | Autotarget keys, like `"core.arc.lint"`. |
Return
map<string, object> | Map of keys to step objects. |
private function getAutosteps($autotargets)
private function getAutosteps($autotargets)
Get all of the HarbormasterBuildStepImplementation objects for a list of autotarget keys.
Parameters
list<string> | $autotargets | Autotarget keys, like `"core.arc.lint"`. |
Return
map<string, object> | Map of keys to implementations. |
private function generateBuildTargetMap($buildable, $step_map)
private function generateBuildTargetMap($buildable, $step_map)
Get a list of HarbormasterBuildTarget objects for a list of autotarget keys.
If some targets or builds do not exist, they are created.
Parameters
HarbormasterBuildable | $buildable | A buildable. |
map<string, | $step_map | object> Map of keys to steps. |
Return
map<string, object> | Map of keys to targets. |