/** * Create an instance of {@link StopTaskCommand } * */ public StopTaskCommand createStopTaskCommand() { return new StopTaskCommand(); }
@Override public void stop( long taskId, String userId ) { StopTaskCommand cmd = new StopTaskCommand(); cmd.setTaskId(taskId); cmd.setUserId(userId); executeCommand(cmd); }
/** * Create an instance of {@link StopTaskCommand } * */ public StopTaskCommand createStopTaskCommand() { return new StopTaskCommand(); }