package de.gecheckt.pdf.umbenenner.application.port.in;

/**
 * Shared singleton token returned by
 * {@link BatchRunCancellationToken#neverCancelled()}.
 * <p>
 * Not intended for direct instantiation by callers.
 */
final class NeverCancelledBatchRunCancellationToken implements BatchRunCancellationToken {

    static final NeverCancelledBatchRunCancellationToken INSTANCE =
            new NeverCancelledBatchRunCancellationToken();

    private NeverCancelledBatchRunCancellationToken() {
    }

    @Override
    public boolean isCancellationRequested() {
        return false;
    }
}
