@Test public void cancelMachineId() { final TestAbstractThreadedTargetHandler th = new TestAbstractThreadedTargetHandler( false ); th.cancelMachineConfigurator( null ); th.cancelMachineConfigurator( "whatever" ); }
protected void cancelMachineConfigurator( String machineId ) { this.logger.fine( "Cancelling machine '" + machineId + "'." ); this.cancelledMachineIds.addMachineId( machineId ); }
AbstractThreadedTargetHandler implements TargetHandler { protected void cancelMachineConfigurator( String machineId ) { this.logger.fine( "Cancelling machine '" + machineId + "'." ); this.cancelledMachineIds.addMachineId( machineId ); } }
AbstractThreadedTargetHandler implements TargetHandler { protected void cancelMachineConfigurator( String machineId ) { this.logger.fine( "Cancelling machine '" + machineId + "'." ); this.cancelledMachineIds.addMachineId( machineId ); }  }
AbstractThreadedTargetHandler implements TargetHandler { protected void cancelMachineConfigurator( String machineId ) { this.logger.fine( "Cancelling machine '" + machineId + "'." ); this.cancelledMachineIds.addMachineId( machineId ); }  void start(); void stop(); @Override final void configureMachine( TargetHandlerParameters parameters, String machineId ); abstract MachineConfigurator machineConfigurator( TargetHandlerParameters parameters, String machineId ); Map<String,MachineConfigurator> getMachineIdToConfigurators(); Set<String> getCancelledMachineIds(); }
AbstractThreadedTargetHandler implements TargetHandler { protected void cancelMachineConfigurator( String machineId ) { this.logger.fine( "Cancelling machine '" + machineId + "'." ); this.cancelledMachineIds.addMachineId( machineId ); }  void start(); void stop(); @Override final void configureMachine( TargetHandlerParameters parameters, String machineId ); abstract MachineConfigurator machineConfigurator( TargetHandlerParameters parameters, String machineId ); Map<String,MachineConfigurator> getMachineIdToConfigurators(); Set<String> getCancelledMachineIds();  }