Package org.apache.storm.flux.model

# Class ExecutionContext

java.lang.Object
org.apache.storm.flux.model.ExecutionContext

public class ExecutionContext extends Object
Container for all the objects required to instantiate a topology.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ExecutionContext(TopologyDef topologyDef, Config config)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `addBolt(String id, Object bolt)`
  `void`
  `addComponent(String id, Object value)`
  `void`
  `addSpout(String id, IRichSpout spout)`
  `Object`
  `getBolt(String id)`
  `Object`
  `getComponent(String id)`
  `TopologyDef`
  `getTopologyDef()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ExecutionContext

    public ExecutionContext(TopologyDef topologyDef, Config config)

- ## Method Details

  - ### getTopologyDef

    public TopologyDef getTopologyDef()

  - ### addSpout

    public void addSpout(String id, IRichSpout spout)

  - ### addBolt

    public void addBolt(String id, Object bolt)

  - ### getBolt

    public Object getBolt(String id)

  - ### addComponent

    public void addComponent(String id, Object value)

  - ### getComponent

    public Object getComponent(String id)