Class: VertxConsul::WatchResult
- Inherits:
-
Object
- Object
- VertxConsul::WatchResult
- Defined in:
- /Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/watch_result.rb
Instance Method Summary (collapse)
- - (Exception) cause
- - (true, false) failed?
- - (Object) next_result
- - (Object) prev_result
- - (true, false) succeeded?
Instance Method Details
- (Exception) cause
31 32 33 34 35 36 |
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/watch_result.rb', line 31 def cause if !block_given? return ::Vertx::Util::Utils.from_throwable(@j_del.java_method(:cause, []).call()) end raise ArgumentError, "Invalid arguments when calling cause()" end |
- (true, false) failed?
45 46 47 48 49 50 |
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/watch_result.rb', line 45 def failed? if !block_given? return @j_del.java_method(:failed, []).call() end raise ArgumentError, "Invalid arguments when calling failed?()" end |
- (Object) next_result
24 25 26 27 28 29 |
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/watch_result.rb', line 24 def next_result if !block_given? return @j_arg_T.wrap(@j_del.java_method(:nextResult, []).call()) end raise ArgumentError, "Invalid arguments when calling next_result()" end |
- (Object) prev_result
17 18 19 20 21 22 |
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/watch_result.rb', line 17 def prev_result if !block_given? return @j_arg_T.wrap(@j_del.java_method(:prevResult, []).call()) end raise ArgumentError, "Invalid arguments when calling prev_result()" end |
- (true, false) succeeded?
38 39 40 41 42 43 |
# File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx-consul/watch_result.rb', line 38 def succeeded? if !block_given? return @j_del.java_method(:succeeded, []).call() end raise ArgumentError, "Invalid arguments when calling succeeded?()" end |