Changeset View
Changeset View
Standalone View
Standalone View
src/applications/harbormaster/storage/HarbormasterBuildCommand.php
<?php | <?php | ||||
final class HarbormasterBuildCommand extends HarbormasterDAO { | final class HarbormasterBuildCommand | ||||
extends Phobject { | |||||
const COMMAND_PAUSE = 'pause'; | const COMMAND_PAUSE = 'pause'; | ||||
const COMMAND_RESUME = 'resume'; | const COMMAND_RESUME = 'resume'; | ||||
const COMMAND_RESTART = 'restart'; | const COMMAND_RESTART = 'restart'; | ||||
const COMMAND_ABORT = 'abort'; | const COMMAND_ABORT = 'abort'; | ||||
protected $authorPHID; | |||||
protected $targetPHID; | |||||
protected $command; | |||||
protected function getConfiguration() { | |||||
return array( | |||||
self::CONFIG_COLUMN_SCHEMA => array( | |||||
'command' => 'text128', | |||||
), | |||||
self::CONFIG_KEY_SCHEMA => array( | |||||
'key_target' => array( | |||||
'columns' => array('targetPHID'), | |||||
), | |||||
), | |||||
) + parent::getConfiguration(); | |||||
} | |||||
} | } |