@Test public void isProcessing() { TaskAssigningSolution solution = new TaskAssigningSolution(-1, new ArrayList<>(), new ArrayList<>()); runnableBase.process(solution); assertTrue(runnableBase.isProcessing()); }
public boolean isProcessing() { Status currentStatus = status.get(); return STARTING == currentStatus || STARTED == currentStatus; }
SolutionProcessor extends RunnableBase { public boolean isProcessing() { Status currentStatus = status.get(); return STARTING == currentStatus || STARTED == currentStatus; } }
SolutionProcessor extends RunnableBase { public boolean isProcessing() { Status currentStatus = status.get(); return STARTING == currentStatus || STARTED == currentStatus; } SolutionProcessor(final TaskAssigningRuntimeDelegate delegate,
                             final Consumer<Result> resultConsumer,
                             final String targetUserId,
                             final int publishWindowSize); }
SolutionProcessor extends RunnableBase { public boolean isProcessing() { Status currentStatus = status.get(); return STARTING == currentStatus || STARTED == currentStatus; } SolutionProcessor(final TaskAssigningRuntimeDelegate delegate,
                             final Consumer<Result> resultConsumer,
                             final String targetUserId,
                             final int publishWindowSize); boolean isProcessing(); void process(final TaskAssigningSolution solution); @Override void destroy(); @Override void run(); }
SolutionProcessor extends RunnableBase { public boolean isProcessing() { Status currentStatus = status.get(); return STARTING == currentStatus || STARTED == currentStatus; } SolutionProcessor(final TaskAssigningRuntimeDelegate delegate,
                             final Consumer<Result> resultConsumer,
                             final String targetUserId,
                             final int publishWindowSize); boolean isProcessing(); void process(final TaskAssigningSolution solution); @Override void destroy(); @Override void run();  }