class AvalancheMQ::Policy
- AvalancheMQ::Policy
- Reference
- Object
Included Modules
- AvalancheMQ::SortableJSON
- JSON::Serializable
Defined in:
avalanchemq/policy.crConstructors
- .new(name : String, vhost : String, pattern : Regex, apply_to : Target, definition : Hash(String, JSON::Any), priority : Int8)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #apply_to : Target
- #definition : Hash(String, JSON::Any)
- #details_tuple
- #match?(resource : Queue | Exchange)
- #name : String
- #pattern : Regex
- #priority : Int8
- #vhost : String
Instance methods inherited from module AvalancheMQ::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)
#