class LavinMQ::Policy
- LavinMQ::Policy
- Reference
- Object
Included Modules
- JSON::Serializable
- LavinMQ::SortableJSON
Direct Known Subclasses
Defined in:
lavinmq/policy.crConstructors
- .new(name : String, vhost : String, pattern : Regex, apply_to : Target, definition : Hash(String, JSON::Any), priority : Int8)
- .new(pull : JSON::PullParser)
Class Method Summary
- .merge_definitions(p1 : Policy, p2 : Policy) : Hash(String, JSON::Any)
- .merge_definitions(p1 : Nil, p2 : Policy) : Hash(String, JSON::Any)
- .merge_definitions(p1 : Policy, p2 : Nil) : Hash(String, JSON::Any)
- .merge_definitions(p1 : Nil, p2 : Nil) : Hash(String, JSON::Any)
Instance Method Summary
- #apply_to : Target
- #definition : Hash(String, JSON::Any)
- #details_tuple
- #match?(resource : Queue)
- #match?(resource : Exchange)
- #name : String
- #pattern : Regex
- #priority : Int8
- #vhost : String
Instance methods inherited from module LavinMQ::SortableJSON
details_tuple
details_tuple,
to_json(json : JSON::Builder)
to_json
Constructor Detail
def self.new(name : String, vhost : String, pattern : Regex, apply_to : Target, definition : Hash(String, JSON::Any), priority : Int8)
#