Class: Orchestrated::OrchestrationCompletion

Inherits:
OrchestrationCompletionShim show all
Defined in:
lib/orchestrated/completion.rb

Overview

wraps an Orchestration and makes it usable as a completion expression

Instance Method Summary collapse

Methods inherited from CompletionExpression

#canceled?, #complete?, #notify_dependents_of_cancellation, #notify_dependents_of_completion

Instance Method Details

#always_complete?Boolean

Returns:

  • (Boolean)


91
# File 'lib/orchestrated/completion.rb', line 91

def always_complete?; false; end

#never_complete?Boolean

Returns:

  • (Boolean)


92
# File 'lib/orchestrated/completion.rb', line 92

def never_complete?; false; end

#prerequisite_canceledObject



96
97
98
# File 'lib/orchestrated/completion.rb', line 96

def prerequisite_canceled
  notify_dependents_of_cancellation
end

#prerequisite_completeObject



93
94
95
# File 'lib/orchestrated/completion.rb', line 93

def prerequisite_complete
  notify_dependents_of_completion
end