Class List Method List File List

# Class: Vertx::MxRecord

Inherits:
  Object
  - Object
  - Vertx::MxRecord
  show all
Defined in:
  /Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/mx_record.rb

## Instance Method Summary (collapse)

- - (MxRecord) initialize(j_del) constructor
  A new instance of MxRecord.
- - (Object) j_del
- - (Object) name
- - (Object) priority

## Constructor Details

### - (`MxRecord`) initialize(j_del)

Returns a new instance of MxRecord

    8
    9
    10
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/mx_record.rb', line 8

    def initialize(j_del)
      @j_del = j_del
    end

## Instance Method Details

### - (`Object`) j_del

    13
    14
    15
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/mx_record.rb', line 13

    def j_del
      @j_del
    end

### - (`Object`) name

Raises:

- (`ArgumentError`)

    26
    27
    28
    29
    30
    31
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/mx_record.rb', line 26

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

### - (`Object`) priority

Raises:

- (`ArgumentError`)

    18
    19
    20
    21
    22
    23
    # File '/Users/julien/java/vertx-stack/stack-docs/target/rb/vertx/mx_record.rb', line 18

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