Open Kilda Java Documentation
CtrlBoltRef.java
Go to the documentation of this file.
1 package org.openkilda.wfm;
2 
3 import org.apache.storm.topology.BoltDeclarer;
5 
6 public class CtrlBoltRef {
7  private final String boltId;
8  private final ICtrlBolt bolt;
9  private final BoltDeclarer declarer;
10 
11  public CtrlBoltRef(String boltId, ICtrlBolt bolt, BoltDeclarer declarer) {
12  this.boltId = boltId;
13  this.bolt = bolt;
14  this.declarer = declarer;
15  }
16 
17  public String getBoltId() {
18  return boltId;
19  }
20 
21  public ICtrlBolt getBolt() {
22  return bolt;
23  }
24 
25  public BoltDeclarer getDeclarer() {
26  return declarer;
27  }
28 }
CtrlBoltRef(String boltId, ICtrlBolt bolt, BoltDeclarer declarer)