3 abstract class HarbormasterBuildStepGroup
extends Phobject
{
5 abstract public function getGroupName();
6 abstract public function getGroupOrder();
8 public function isEnabled() {
12 public function shouldShowIfEmpty() {
16 final public function getGroupKey() {
17 return $this->getPhobjectClassConstant('GROUPKEY');
20 final public static function getAllGroups() {
21 return id(new PhutilClassMapQuery())
22 ->setAncestorClass(__CLASS__
)
23 ->setUniqueMethod('getGroupKey')
24 ->setSortMethod('getGroupOrder')
28 final public static function getAllEnabledGroups() {
29 $groups = self
::getAllGroups();
31 foreach ($groups as $key => $group) {
32 if (!$group->isEnabled()) {