Class: Contrast::Agent::Inventory::Policy::TriggerNode
- Inherits:
-
Patching::Policy::TriggerNode
- Object
- Patching::Policy::PolicyNode
- Patching::Policy::TriggerNode
- Contrast::Agent::Inventory::Policy::TriggerNode
- Defined in:
- lib/contrast/agent/inventory/policy/trigger_node.rb
Overview
This class functions to translate our policy.json into an actionable Ruby object, allowing for dynamic patching over hardcoded patching, specifically for those methods which result in the trigger of an event interesting to the design of the application.
Constant Summary
Constants inherited from Patching::Policy::TriggerNode
Patching::Policy::TriggerNode::JSON_APPLICATOR, Patching::Policy::TriggerNode::JSON_APPLICATOR_METHOD, Patching::Policy::TriggerNode::JSON_NAME, Patching::Policy::TriggerNode::JSON_ON_EXCEPTION, Patching::Policy::TriggerNode::JSON_OPTIONAL_PROPS, Patching::Policy::TriggerNode::JSON_REQUIRED_PROPS, Patching::Policy::TriggerNode::NODE
Constants inherited from Patching::Policy::PolicyNode
Patching::Policy::PolicyNode::JSON_CLASS_NAME, Patching::Policy::PolicyNode::JSON_INSTANCE_METHOD, Patching::Policy::PolicyNode::JSON_METHOD_NAME, Patching::Policy::PolicyNode::JSON_METHOD_SCOPE, Patching::Policy::PolicyNode::JSON_METHOD_VISIBILITY, Patching::Policy::PolicyNode::JSON_PROPERTIES
Instance Attribute Summary
Attributes inherited from Patching::Policy::TriggerNode
#applicator, #applicator_method, #on_exception, #optional_properties, #required_properties, #rule_id
Attributes inherited from Patching::Policy::PolicyNode
#class_name, #instance_method, #method_name, #method_scope, #method_visibility, #properties
Instance Method Summary collapse
Methods inherited from Patching::Policy::TriggerNode
#initialize, #node_class, #validate, #validate_properties, #validate_rule
Methods inherited from Patching::Policy::PolicyNode
#id, #initialize, #instance_method?, #node_class, #validate
Methods included from Components::Scope::InstanceMethods
#contrast_enter_method_scopes!, #contrast_exit_method_scopes!, #with_app_scope, #with_contrast_scope, #with_deserialization_scope, #with_split_scope
Constructor Details
This class inherits a constructor from Contrast::Agent::Patching::Policy::TriggerNode
Instance Method Details
#feature ⇒ Object
15 16 17 |
# File 'lib/contrast/agent/inventory/policy/trigger_node.rb', line 15 def feature 'Inventory' end |