3 final class PhabricatorConfigManualActivity
4 extends PhabricatorConfigEntryDAO
{
6 protected $activityType;
7 protected $parameters = array();
9 const TYPE_REINDEX
= 'reindex';
10 const TYPE_IDENTITIES
= 'identities';
13 protected function getConfiguration() {
15 self
::CONFIG_TIMESTAMPS
=> false,
16 self
::CONFIG_SERIALIZATION
=> array(
17 'parameters' => self
::SERIALIZATION_JSON
,
19 self
::CONFIG_COLUMN_SCHEMA
=> array(
20 'activityType' => 'text64',
22 self
::CONFIG_KEY_SCHEMA
=> array(
24 'columns' => array('activityType'),
28 ) + parent
::getConfiguration();
31 public function setParameter($key, $value) {
32 $this->parameters
[$key] = $value;
36 public function getParameter($key, $default = null) {
37 return idx($this->parameters
, $key, $default);