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)


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

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

+ (Object) j_api_type



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

def self.j_api_type
  @@j_api_type
end

+ (Object) j_class



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

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

+ (Object) unwrap(obj)



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

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

+ (Object) wrap(obj)



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

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

Instance Method Details

- (String) app_id

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

Returns:

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

Raises:

  • (ArgumentError)


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 144

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
  raise ArgumentError, "Invalid arguments when calling app_id()"
end

- (String) cluster_id

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

Returns:

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

Raises:

  • (ArgumentError)


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

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
  raise ArgumentError, "Invalid arguments when calling cluster_id()"
end

- (String) content_encoding

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.

Raises:

  • (ArgumentError)


43
44
45
46
47
48
49
50
51
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 43

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
  raise ArgumentError, "Invalid arguments when calling content_encoding()"
end

- (String) content_type

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.

Raises:

  • (ArgumentError)


33
34
35
36
37
38
39
40
41
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 33

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
  raise ArgumentError, "Invalid arguments when calling content_type()"
end

- (String) correlation_id

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.

Raises:

  • (ArgumentError)


74
75
76
77
78
79
80
81
82
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 74

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
  raise ArgumentError, "Invalid arguments when calling correlation_id()"
end

- (Fixnum) delivery_mode

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.

Raises:

  • (ArgumentError)


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

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
  raise ArgumentError, "Invalid arguments when calling delivery_mode()"
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.

Raises:

  • (ArgumentError)


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

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

- (String) message_id

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

Returns:

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

Raises:

  • (ArgumentError)


104
105
106
107
108
109
110
111
112
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 104

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
  raise ArgumentError, "Invalid arguments when calling message_id()"
end

- (Fixnum) priority

Retrieve the value in the priority field.

Returns:

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

Raises:

  • (ArgumentError)


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

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

- (String) reply_to

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

Returns:

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

Raises:

  • (ArgumentError)


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 84

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
  raise ArgumentError, "Invalid arguments when calling reply_to()"
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.

Raises:

  • (ArgumentError)


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 114

def timestamp
  if !block_given?
    if @cached_timestamp != nil
      return @cached_timestamp
    end
    return @cached_timestamp = @j_del.java_method(:timestamp, []).call()
  end
  raise ArgumentError, "Invalid arguments when calling timestamp()"
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.

Raises:

  • (ArgumentError)


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

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

- (String) user_id

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

Returns:

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

Raises:

  • (ArgumentError)


134
135
136
137
138
139
140
141
142
# File '/Users/julien/java/vertx-aggregator/modules/vertx-lang-ruby/vertx-lang-ruby/target/classes/vertx-rabbitmq/basic_properties.rb', line 134

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
  raise ArgumentError, "Invalid arguments when calling user_id()"
end