3 final class HeraldDoNothingAction
extends HeraldAction
{
5 const ACTIONCONST
= 'nothing';
6 const DO_NOTHING
= 'do.nothing';
8 public function getHeraldActionName() {
9 return pht('Do nothing');
12 public function getActionGroupKey() {
13 return HeraldUtilityActionGroup
::ACTIONGROUPKEY
;
16 public function supportsObject($object) {
20 public function supportsRuleType($rule_type) {
24 public function applyEffect($object, HeraldEffect
$effect) {
25 $this->logEffect(self
::DO_NOTHING
);
28 public function getHeraldActionStandardType() {
29 return self
::STANDARD_NONE
;
32 protected function getActionEffectMap() {
34 self
::DO_NOTHING
=> array(
37 'name' => pht('Did Nothing'),
42 public function renderActionDescription($value) {
43 return pht('Do nothing.');
46 protected function renderActionEffectDescription($type, $data) {
47 return pht('Did nothing.');