/** * Add another supervisor to the topology. This is intended mostly for internal testing. * * @param ports the number of ports/slots the supervisor should have */ public Supervisor addSupervisor(Number ports) throws Exception { return addSupervisor(ports, null, null); }
/** * Add another supervisor to the topology. This is intended mostly for internal testing. */ public Supervisor addSupervisor() throws Exception { return addSupervisor(null, null, null); }
/** * Add another supervisor to the topology. This is intended mostly for internal testing. * * @param ports the number of ports/slots the supervisor should have * @param id the id of the new supervisor, so you can find it later. */ public Supervisor addSupervisor(Number ports, String id) throws Exception { return addSupervisor(ports, null, id); }