public function getEmailPHIDs()Inherited
wild |
public function getForcedEmailPHIDs()Inherited
wild |
final public function setActingAsPHID($acting_as_phid)Inherited
$acting_as_phid |
wild |
final public function getActingAsPHID()Inherited
wild |
public function addEmailPHID($phid, $force)Inherited
$phid | ||
$force |
wild |
public function setViewer($viewer)Inherited
PhabricatorUser | $viewer |
wild |
public function getViewer()Inherited
wild |
public function setContentSource($content_source)Inherited
PhabricatorContentSource | $content_source |
wild |
public function getContentSource()Inherited
wild |
public function getIsNewObject()Inherited
wild |
public function setIsNewObject($new)Inherited
$new |
wild |
public function supportsApplicationEmail()Inherited
wild |
public function setApplicationEmail($email)Inherited
PhabricatorMetaMTAApplicationEmail |
wild |
public function getApplicationEmail()Inherited
wild |
public function getPHID()Inherited
wild |
public function getHeraldName()
wild |
final public function willGetHeraldField($field_key)Inherited
$field_key |
wild |
public function getHeraldField($field_key)Inherited
$field_key |
wild |
public function applyHeraldEffects($effects)Inherited
array | $effects |
wild |
public function isAvailableToUser($viewer)Inherited
PhabricatorUser | $viewer |
wild |
final public function setAppliedTransactions($xactions)Inherited
Set the list of transactions which just took effect.
These transactions are set by PhabricatorApplicationEditor automatically, before it invokes Herald.
list<PhabricatorApplicationTransaction> | $xactions | List of transactions. |
this |
final public function getAppliedTransactions()Inherited
Get a list of transactions which just took effect.
When an object is edited normally, transactions are applied and then Herald executes. You can call this method to examine the transactions if you want to react to them.
list<PhabricatorApplicationTransaction> | List of transactions. |
final public function queueTransaction($transaction)Inherited
PhabricatorApplicationTransaction | $transaction |
wild |
final public function getQueuedTransactions()Inherited
wild |
final public function newTransaction()Inherited
wild |
public function getAdapterContentType()Inherited
wild |
public function getAdapterContentName()
wild |
public function getAdapterContentDescription()
wild |
public function getAdapterApplicationClass()Inherited
wild |
public function getObject()Inherited
wild |
public function getAdapterContentIcon()Inherited
wild |
protected function newObject()Inherited
Return a new characteristic object for this adapter.
The adapter will use this object to test for interfaces, generate transactions, and interact with custom fields.
Adapters must return an object from this method to enable custom field rules and various implicit actions.
Normally, you'll return an empty version of the adapted object:
return new ApplicationObject();
null|object | Template object. |
public function supportsRuleType($rule_type)Inherited
$rule_type |
wild |
public function canTriggerOnObject($object)Inherited
$object |
wild |
public function isTestAdapterForObject($object)Inherited
$object |
wild |
public function canCreateTestAdapterForObject($object)Inherited
$object |
wild |
public function newTestAdapter($viewer, $object)Inherited
PhabricatorUser | $viewer | |
$object |
wild |
public function getAdapterTestDescription()Inherited
wild |
public function explainValidTriggerObjects()Inherited
wild |
public function getTriggerObjectPHIDs()Inherited
wild |
public function getAdapterSortKey()Inherited
wild |
public function getAdapterSortOrder()
wild |
private function getFieldImplementationMap()Inherited
wild |
private function getFieldImplementation($key)Inherited
$key |
wild |
public function getFields()Inherited
wild |
public function getFieldNameMap()Inherited
wild |
public function getFieldGroupKey($field_key)Inherited
$field_key |
wild |
public function isFieldAvailable($field_key)Inherited
$field_key |
wild |
public function getConditionNameMap()Inherited
wild |
public function getConditionsForField($field)Inherited
$field |
wild |
private function requireFieldImplementation($field_key)Inherited
$field_key |
wild |
public function doesConditionMatch($engine, $rule, $condition, $field_value)Inherited
HeraldEngine | $engine | |
HeraldRule | $rule | |
HeraldCondition | $condition | |
$field_value |
wild |
public function willSaveCondition($condition)Inherited
HeraldCondition | $condition |
wild |
private function getActionImplementationMap()Inherited
wild |
private function requireActionImplementation($action_key)Inherited
$action_key |
wild |
private function getActionsForRuleType($rule_type)Inherited
$rule_type |
wild |
public function getActionImplementation($key)Inherited
$key |
wild |
public function getActionKeys()Inherited
wild |
public function getActionGroupKey($action_key)Inherited
$action_key |
wild |
public function isActionAvailable($action_key)Inherited
$action_key |
wild |
public function getActions($rule_type)Inherited
$rule_type |
wild |
public function getActionNameMap($rule_type)Inherited
$rule_type |
wild |
public function willSaveAction($rule, $action)Inherited
HeraldRule | $rule | |
HeraldActionRecord | $action |
wild |
public function getValueTypeForFieldAndCondition($field, $condition)Inherited
$field | ||
$condition |
wild |
public function getValueTypeForAction($action, $rule_type)Inherited
$action | ||
$rule_type |
wild |
private function buildTokenizerFieldValue($datasource)Inherited
PhabricatorTypeaheadDatasource | $datasource |
wild |
public function getRepetitionOptions()Inherited
wild |
protected function initializeNewAdapter()Inherited
wild |
public function isSingleEventAdapter()Inherited
Does this adapter's event fire only once?
Single use adapters (like pre-commit and diff adapters) only fire once, so fields like "Is new object" don't make sense to apply to their content.
bool |
public static function getAllAdapters()Inherited
wild |
public static function getAdapterForContentType($content_type)Inherited
$content_type |
wild |
public static function getEnabledAdapterMap($viewer)Inherited
PhabricatorUser | $viewer |
wild |
public function getEditorValueForCondition($viewer, $condition)Inherited
PhabricatorUser | $viewer | |
HeraldCondition | $condition |
wild |
public function getEditorValueForAction($viewer, $action_record)Inherited
PhabricatorUser | $viewer | |
HeraldActionRecord | $action_record |
wild |
public function renderRuleAsText($rule, $viewer)Inherited
HeraldRule | $rule | |
PhabricatorUser | $viewer |
wild |
private function renderConditionAsText($condition, $viewer)Inherited
HeraldCondition | $condition | |
PhabricatorUser | $viewer |
wild |
private function renderActionAsText($viewer, $action_record)Inherited
PhabricatorUser | $viewer | |
HeraldActionRecord | $action_record |
wild |
private function renderConditionValueAsText($condition, $viewer)Inherited
HeraldCondition | $condition | |
PhabricatorUser | $viewer |
wild |
public function renderFieldTranscriptValue($viewer, $field_type, $field_value)Inherited
PhabricatorUser | $viewer | |
$field_type | ||
$field_value |
wild |
protected function applyStandardEffect($effect)Inherited
HeraldEffect | $effect |
wild |
public function loadEdgePHIDs($type)Inherited
$type |
wild |
final public function getForbiddenActions()Inherited
wild |
final public function setForbiddenAction($action, $reason)Inherited
$action | ||
$reason |
wild |
final public function getRequiredFieldStates($field_key)Inherited
$field_key |
wild |
final public function getRequiredActionStates($action_key)Inherited
$action_key |
wild |
final public function getForbiddenReason($action)Inherited
$action |
wild |
final public function addMustEncryptReason($reason)Inherited
$reason |
wild |
final public function getMustEncryptReasons()Inherited
wild |
public function supportsWebhooks()Inherited
wild |
final public function queueWebhook($webhook_phid, $rule_phid)Inherited
$webhook_phid | ||
$rule_phid |
wild |
final public function getWebhookMap()Inherited
wild |
public function isPreCommitRefAdapter()
wild |
public function setPushLog($log)Inherited
PhabricatorRepositoryPushLog | $log |
wild |
public function setHookEngine($engine)Inherited
DiffusionCommitHookEngine | $engine |
wild |
public function getHookEngine()Inherited
wild |
public function isDiffEnormous()
wild |
public function getDiffContent($type)
$type |
wild |
public function getCommitRef()
wild |
public function getAuthorPHID()
wild |
public function getCommitterPHID()
wild |
public function getAuthorRaw()
wild |
public function getCommitterRaw()
wild |
private function lookupUser($raw_identity)
$raw_identity |
wild |
private function getCommitFields()
wild |
public function getRevision()
wild |
public function getIsMergeCommit()
wild |
public function getBranches()
wild |
public function loadAffectedPackages()
wild |