Class: Safrano::Batch::HandlerBase

Inherits:
Object
  • Object
show all
Includes:
Transitions::GetNextTrans::ForJustTransitionEnd
Defined in:
lib/odata/batch.rb

Overview

$batch Handler

Direct Known Subclasses

DisabledHandler, EnabledHandler

Constant Summary collapse

TREND =
Safrano::Transition.new('', trans: :transition_end)

Instance Method Summary collapse

Methods included from Transitions::GetNextTrans::ForJustTransitionEnd

#get_next_transresult

Instance Method Details

#allowed_transitionsObject



107
108
109
# File 'lib/odata/batch.rb', line 107

def allowed_transitions
  @allowed_transitions = [TREND]
end

#transition_end(_match_result) ⇒ Object



111
112
113
# File 'lib/odata/batch.rb', line 111

def transition_end(_match_result)
  Safrano::Transition::RESULT_END
end