Class: Smith::Workflow::BranchEnv
- Inherits:
-
Struct
- Object
- Struct
- Smith::Workflow::BranchEnv
- Defined in:
- lib/smith/workflow.rb
Overview
keyword_init: true for forward/backward compat (see UsageEntry).
Instance Attribute Summary collapse
-
#branch_estimates ⇒ Object
Returns the value of attribute branch_estimates.
-
#deadline ⇒ Object
Returns the value of attribute deadline.
-
#guardrail_sources ⇒ Object
Returns the value of attribute guardrail_sources.
-
#prepared_input ⇒ Object
Returns the value of attribute prepared_input.
-
#scoped_store ⇒ Object
Returns the value of attribute scoped_store.
Instance Method Summary collapse
Instance Attribute Details
#branch_estimates ⇒ Object
Returns the value of attribute branch_estimates
171 172 173 |
# File 'lib/smith/workflow.rb', line 171 def branch_estimates @branch_estimates end |
#deadline ⇒ Object
Returns the value of attribute deadline
171 172 173 |
# File 'lib/smith/workflow.rb', line 171 def deadline @deadline end |
#guardrail_sources ⇒ Object
Returns the value of attribute guardrail_sources
171 172 173 |
# File 'lib/smith/workflow.rb', line 171 def guardrail_sources @guardrail_sources end |
#prepared_input ⇒ Object
Returns the value of attribute prepared_input
171 172 173 |
# File 'lib/smith/workflow.rb', line 171 def prepared_input @prepared_input end |
#scoped_store ⇒ Object
Returns the value of attribute scoped_store
171 172 173 |
# File 'lib/smith/workflow.rb', line 171 def scoped_store @scoped_store end |
Instance Method Details
#setup_thread ⇒ Object
175 176 177 178 179 |
# File 'lib/smith/workflow.rb', line 175 def setup_thread Smith::Tool.current_guardrails = guardrail_sources Smith::Tool.current_deadline = deadline Smith.scoped_artifacts = scoped_store end |
#teardown_thread ⇒ Object
181 182 183 184 185 |
# File 'lib/smith/workflow.rb', line 181 def teardown_thread Smith::Tool.current_guardrails = nil Smith::Tool.current_deadline = nil Smith.scoped_artifacts = nil end |