io.annot8.api.pipelines.NoOpOrderer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of annot8-api Show documentation
Show all versions of annot8-api Show documentation
Core API interfaces for the Annot8 project
/* Annot8 (annot8.io) - Licensed under Apache-2.0. */
package io.annot8.api.pipelines;
import io.annot8.api.components.ProcessorDescriptor;
import io.annot8.api.components.SourceDescriptor;
import java.util.Collection;
public final class NoOpOrderer implements PipelineOrderer {
private static final NoOpOrderer INSTANCE = new NoOpOrderer();
private NoOpOrderer() {
// Private constructor for singleton
}
public static final NoOpOrderer getInstance() {
return INSTANCE;
}
@Override
public Collection orderProcessors(
Collection processors) {
return processors;
}
@Override
public Collection orderSources(Collection sources) {
return sources;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy