Class: Kettle::Jem::DecisionEvaluation

Inherits:
Struct
  • Object
show all
Defined in:
lib/kettle/jem.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#blockingObject

Returns the value of attribute blocking

Returns:

  • (Object)

    the current value of blocking



533
534
535
# File 'lib/kettle/jem.rb', line 533

def blocking
  @blocking
end

#categoryObject

Returns the value of attribute category

Returns:

  • (Object)

    the current value of category



533
534
535
# File 'lib/kettle/jem.rb', line 533

def category
  @category
end

#default_actionObject

Returns the value of attribute default_action

Returns:

  • (Object)

    the current value of default_action



533
534
535
# File 'lib/kettle/jem.rb', line 533

def default_action
  @default_action
end

#diagnosticsObject

Returns the value of attribute diagnostics

Returns:

  • (Object)

    the current value of diagnostics



533
534
535
# File 'lib/kettle/jem.rb', line 533

def diagnostics
  @diagnostics
end

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



533
534
535
# File 'lib/kettle/jem.rb', line 533

def file
  @file
end

#idObject

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



533
534
535
# File 'lib/kettle/jem.rb', line 533

def id
  @id
end

#promptObject

Returns the value of attribute prompt

Returns:

  • (Object)

    the current value of prompt



533
534
535
# File 'lib/kettle/jem.rb', line 533

def prompt
  @prompt
end

#prompt_requiredObject

Returns the value of attribute prompt_required

Returns:

  • (Object)

    the current value of prompt_required



533
534
535
# File 'lib/kettle/jem.rb', line 533

def prompt_required
  @prompt_required
end

#selected_actionObject

Returns the value of attribute selected_action

Returns:

  • (Object)

    the current value of selected_action



533
534
535
# File 'lib/kettle/jem.rb', line 533

def selected_action
  @selected_action
end

#severityObject

Returns the value of attribute severity

Returns:

  • (Object)

    the current value of severity



533
534
535
# File 'lib/kettle/jem.rb', line 533

def severity
  @severity
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



533
534
535
# File 'lib/kettle/jem.rb', line 533

def source
  @source
end

Instance Method Details

#to_hObject



546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
# File 'lib/kettle/jem.rb', line 546

def to_h
  {
    id: id,
    category: category,
    file: file,
    default_action: default_action,
    selected_action: selected_action,
    source: source,
    severity: severity,
    blocking: blocking,
    diagnostics: diagnostics,
    prompt_required: prompt_required,
    prompt: prompt
  }.compact
end