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

#blocking ⇒ Object

Returns the value of attribute blocking

Returns:

  • (Object) —

    the current value of blocking



572
573
574
# File 'lib/kettle/jem.rb', line 572

def blocking
  @blocking
end

#category ⇒ Object

Returns the value of attribute category

Returns:

  • (Object) —

    the current value of category



572
573
574
# File 'lib/kettle/jem.rb', line 572

def category
  @category
end

#default_action ⇒ Object

Returns the value of attribute default_action

Returns:

  • (Object) —

    the current value of default_action



572
573
574
# File 'lib/kettle/jem.rb', line 572

def default_action
  @default_action
end

#diagnostics ⇒ Object

Returns the value of attribute diagnostics

Returns:

  • (Object) —

    the current value of diagnostics



572
573
574
# File 'lib/kettle/jem.rb', line 572

def diagnostics
  @diagnostics
end

#file ⇒ Object

Returns the value of attribute file

Returns:

  • (Object) —

    the current value of file



572
573
574
# File 'lib/kettle/jem.rb', line 572

def file
  @file
end

#id ⇒ Object

Returns the value of attribute id

Returns:

  • (Object) —

    the current value of id



572
573
574
# File 'lib/kettle/jem.rb', line 572

def id
  @id
end

#prompt ⇒ Object

Returns the value of attribute prompt

Returns:

  • (Object) —

    the current value of prompt



572
573
574
# File 'lib/kettle/jem.rb', line 572

def prompt
  @prompt
end

#prompt_required ⇒ Object

Returns the value of attribute prompt_required

Returns:

  • (Object) —

    the current value of prompt_required



572
573
574
# File 'lib/kettle/jem.rb', line 572

def prompt_required
  @prompt_required
end

#selected_action ⇒ Object

Returns the value of attribute selected_action

Returns:

  • (Object) —

    the current value of selected_action



572
573
574
# File 'lib/kettle/jem.rb', line 572

def selected_action
  @selected_action
end

#severity ⇒ Object

Returns the value of attribute severity

Returns:

  • (Object) —

    the current value of severity



572
573
574
# File 'lib/kettle/jem.rb', line 572

def severity
  @severity
end

#source ⇒ Object

Returns the value of attribute source

Returns:

  • (Object) —

    the current value of source



572
573
574
# File 'lib/kettle/jem.rb', line 572

def source
  @source
end

Instance Method Details

#to_h ⇒ Object



585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
# File 'lib/kettle/jem.rb', line 585

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