Class: VertxRabbitmq::BasicProperties

Inherits:
Object
  • Object
show all
Defined in:
/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb

Overview

Like BasicProperties

Constant Summary

@@j_api_type =
Object.new

Class Method Summary (collapse)

Instance Method Summary (collapse)

Class Method Details

+ (Boolean) accept?(obj)

Returns:

  • (Boolean)


18
19
20
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 18

def @@j_api_type.accept?(obj)
  obj.class == BasicProperties
end

+ (Object) j_api_type



27
28
29
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 27

def self.j_api_type
  @@j_api_type
end

+ (Object) j_class



30
31
32
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 30

def self.j_class
  Java::IoVertxRabbitmq::BasicProperties.java_class
end

+ (Object) unwrap(obj)



24
25
26
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 24

def @@j_api_type.unwrap(obj)
  obj.j_del
end

+ (Object) wrap(obj)



21
22
23
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 21

def @@j_api_type.wrap(obj)
  BasicProperties.new(obj)
end

Instance Method Details

- (String) appId

Returns appId, or null if it has not been set.

Returns:

  • (String)
    appId, or null if it has not been set.


50
51
52
53
54
55
56
57
58
59
60
61
62
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 50

def app_id
  if !block_given?
    if @cached_app_id != nil
      return @cached_app_id
    end
    return @cached_app_id = @j_del.java_method(:appId, []).call()
  end
  if defined?(super)
    super
  else
    raise ArgumentError, "Invalid arguments when calling app_id()"
  end
end

- (String) clusterId

Returns clusterId, or null if it has not been set.

Returns:

  • (String)
    clusterId, or null if it has not been set.


140
141
142
143
144
145
146
147
148
149
150
151
152
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 140

def cluster_id
  if !block_given?
    if @cached_cluster_id != nil
      return @cached_cluster_id
    end
    return @cached_cluster_id = @j_del.java_method(:clusterId, []).call()
  end
  if defined?(super)
    super
  else
    raise ArgumentError, "Invalid arguments when calling cluster_id()"
  end
end

- (String) contentEncoding

Returns contentEncoding of a message, or null if it has not been set.

Returns:

  • (String)
    contentEncoding of a message, or null if it has not been set.


95
96
97
98
99
100
101
102
103
104
105
106
107
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 95

def content_encoding
  if !block_given?
    if @cached_content_encoding != nil
      return @cached_content_encoding
    end
    return @cached_content_encoding = @j_del.java_method(:contentEncoding, []).call()
  end
  if defined?(super)
    super
  else
    raise ArgumentError, "Invalid arguments when calling content_encoding()"
  end
end

- (String) contentType

Returns contentType of a message, or null if it has not been set.

Returns:

  • (String)
    contentType of a message, or null if it has not been set.


201
202
203
204
205
206
207
208
209
210
211
212
213
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 201

def content_type
  if !block_given?
    if @cached_content_type != nil
      return @cached_content_type
    end
    return @cached_content_type = @j_del.java_method(:contentType, []).call()
  end
  if defined?(super)
    super
  else
    raise ArgumentError, "Invalid arguments when calling content_type()"
  end
end

- (String) correlationId

Returns correlationId of a message, or null if it has not been set.

Returns:

  • (String)
    correlationId of a message, or null if it has not been set.


125
126
127
128
129
130
131
132
133
134
135
136
137
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 125

def correlation_id
  if !block_given?
    if @cached_correlation_id != nil
      return @cached_correlation_id
    end
    return @cached_correlation_id = @j_del.java_method(:correlationId, []).call()
  end
  if defined?(super)
    super
  else
    raise ArgumentError, "Invalid arguments when calling correlation_id()"
  end
end

- (Fixnum) deliveryMode

Returns deliveryMode of a message, or null if it has not been set.

Returns:

  • (Fixnum)
    deliveryMode of a message, or null if it has not been set.


35
36
37
38
39
40
41
42
43
44
45
46
47
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 35

def delivery_mode
  if !block_given?
    if @cached_delivery_mode != nil
      return @cached_delivery_mode
    end
    return @cached_delivery_mode = @j_del.java_method(:deliveryMode, []).call()
  end
  if defined?(super)
    super
  else
    raise ArgumentError, "Invalid arguments when calling delivery_mode()"
  end
end

- (String) expiration

Returns expiration of a message, or null if it has not been set.

Returns:

  • (String)
    expiration of a message, or null if it has not been set.


110
111
112
113
114
115
116
117
118
119
120
121
122
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 110

def expiration
  if !block_given?
    if @cached_expiration != nil
      return @cached_expiration
    end
    return @cached_expiration = @j_del.java_method(:expiration, []).call()
  end
  if defined?(super)
    super
  else
    raise ArgumentError, "Invalid arguments when calling expiration()"
  end
end

- (String) messageId

Returns messageId, or null if it has not been set.

Returns:

  • (String)
    messageId, or null if it has not been set.


80
81
82
83
84
85
86
87
88
89
90
91
92
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 80

def message_id
  if !block_given?
    if @cached_message_id != nil
      return @cached_message_id
    end
    return @cached_message_id = @j_del.java_method(:messageId, []).call()
  end
  if defined?(super)
    super
  else
    raise ArgumentError, "Invalid arguments when calling message_id()"
  end
end

- (Fixnum) priority

Retrieve the value in the priority field.

Returns:

  • (Fixnum)
    priority of a message, or null if it has not been set.


171
172
173
174
175
176
177
178
179
180
181
182
183
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 171

def priority
  if !block_given?
    if @cached_priority != nil
      return @cached_priority
    end
    return @cached_priority = @j_del.java_method(:priority, []).call()
  end
  if defined?(super)
    super
  else
    raise ArgumentError, "Invalid arguments when calling priority()"
  end
end

- (String) replyTo

Returns replyTo address, or null if it has not been set.

Returns:

  • (String)
    replyTo address, or null if it has not been set.


65
66
67
68
69
70
71
72
73
74
75
76
77
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 65

def reply_to
  if !block_given?
    if @cached_reply_to != nil
      return @cached_reply_to
    end
    return @cached_reply_to = @j_del.java_method(:replyTo, []).call()
  end
  if defined?(super)
    super
  else
    raise ArgumentError, "Invalid arguments when calling reply_to()"
  end
end

- (Fixnum) timestamp

Returns timestamp of a message, or null if it has not been set.

Returns:

  • (Fixnum)
    timestamp of a message, or null if it has not been set.


216
217
218
219
220
221
222
223
224
225
226
227
228
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 216

def timestamp
  if !block_given?
    if @cached_timestamp != nil
      return @cached_timestamp
    end
    return @cached_timestamp = @j_del.java_method(:timestamp, []).call()
  end
  if defined?(super)
    super
  else
    raise ArgumentError, "Invalid arguments when calling timestamp()"
  end
end

- (String) type

Returns type of a message, or null if it has not been set.

Returns:

  • (String)
    type of a message, or null if it has not been set.


155
156
157
158
159
160
161
162
163
164
165
166
167
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 155

def type
  if !block_given?
    if @cached_type != nil
      return @cached_type
    end
    return @cached_type = @j_del.java_method(:type, []).call()
  end
  if defined?(super)
    super
  else
    raise ArgumentError, "Invalid arguments when calling type()"
  end
end

- (String) userId

Returns userId, or null if it has not been set.

Returns:

  • (String)
    userId, or null if it has not been set.


186
187
188
189
190
191
192
193
194
195
196
197
198
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 186

def user_id
  if !block_given?
    if @cached_user_id != nil
      return @cached_user_id
    end
    return @cached_user_id = @j_del.java_method(:userId, []).call()
  end
  if defined?(super)
    super
  else
    raise ArgumentError, "Invalid arguments when calling user_id()"
  end
end