Class: Textus::Protocol::Container
- Inherits:
-
Object
- Object
- Textus::Protocol::Container
- Defined in:
- lib/textus/protocol/container.rb
Instance Attribute Summary collapse
-
#gate ⇒ Object
Returns the value of attribute gate.
-
#layout ⇒ Object
readonly
Returns the value of attribute layout.
-
#manifest ⇒ Object
readonly
Returns the value of attribute manifest.
-
#root ⇒ Object
readonly
Returns the value of attribute root.
-
#schemas ⇒ Object
readonly
Returns the value of attribute schemas.
-
#store ⇒ Object
readonly
Returns the value of attribute store.
-
#store_engine ⇒ Object
readonly
Returns the value of attribute store_engine.
-
#ttl_evaluator ⇒ Object
readonly
Returns the value of attribute ttl_evaluator.
-
#workflow_registry ⇒ Object
readonly
Returns the value of attribute workflow_registry.
-
#workflows ⇒ Object
readonly
Returns the value of attribute workflows.
Instance Method Summary collapse
-
#initialize(store:, layout:, manifest:, schemas:, workflows:, root: nil, gate: nil, ttl_evaluator: nil, store_engine: nil) ⇒ Container
constructor
A new instance of Container.
Constructor Details
#initialize(store:, layout:, manifest:, schemas:, workflows:, root: nil, gate: nil, ttl_evaluator: nil, store_engine: nil) ⇒ Container
Returns a new instance of Container.
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/textus/protocol/container.rb', line 7 def initialize(store:, layout:, manifest:, schemas:, workflows:, root: nil, gate: nil, ttl_evaluator: nil, store_engine: nil) @store = store @layout = layout @manifest = manifest @schemas = schemas @workflows = workflows @workflow_registry = workflows ? Textus::Workflow::Registry.new(workflows) : nil @root = root @gate = gate @ttl_evaluator = ttl_evaluator @store_engine = store_engine end |
Instance Attribute Details
#gate ⇒ Object
Returns the value of attribute gate.
4 5 6 |
# File 'lib/textus/protocol/container.rb', line 4 def gate @gate end |
#layout ⇒ Object (readonly)
Returns the value of attribute layout.
5 6 7 |
# File 'lib/textus/protocol/container.rb', line 5 def layout @layout end |
#manifest ⇒ Object (readonly)
Returns the value of attribute manifest.
5 6 7 |
# File 'lib/textus/protocol/container.rb', line 5 def manifest @manifest end |
#root ⇒ Object (readonly)
Returns the value of attribute root.
5 6 7 |
# File 'lib/textus/protocol/container.rb', line 5 def root @root end |
#schemas ⇒ Object (readonly)
Returns the value of attribute schemas.
5 6 7 |
# File 'lib/textus/protocol/container.rb', line 5 def schemas @schemas end |
#store ⇒ Object (readonly)
Returns the value of attribute store.
5 6 7 |
# File 'lib/textus/protocol/container.rb', line 5 def store @store end |
#store_engine ⇒ Object (readonly)
Returns the value of attribute store_engine.
5 6 7 |
# File 'lib/textus/protocol/container.rb', line 5 def store_engine @store_engine end |
#ttl_evaluator ⇒ Object (readonly)
Returns the value of attribute ttl_evaluator.
5 6 7 |
# File 'lib/textus/protocol/container.rb', line 5 def ttl_evaluator @ttl_evaluator end |
#workflow_registry ⇒ Object (readonly)
Returns the value of attribute workflow_registry.
5 6 7 |
# File 'lib/textus/protocol/container.rb', line 5 def workflow_registry @workflow_registry end |
#workflows ⇒ Object (readonly)
Returns the value of attribute workflows.
5 6 7 |
# File 'lib/textus/protocol/container.rb', line 5 def workflows @workflows end |