All Downloads are FREE. Search and download functionalities are using the official Maven repository.

lphystudio.spi.ValueFormatterStudioImpl Maven / Gradle / Ivy

The newest version!
package lphystudio.spi;

import lphy.core.logger.ValueFormatter;
import lphy.core.spi.ValueFormatterCoreImpl;

import java.util.HashSet;
import java.util.Set;

/**
 * TODO: it is unused now, overwrite the register() when any new classes being to add.
 * The "Container" provider class that implements SPI
 * which include a list of {@link ValueFormatter} required in the core.
 * It requires a public no-args constructor.
 * @author Walter Xie
 */
@Deprecated
public class ValueFormatterStudioImpl extends ValueFormatterCoreImpl {//implements ValueFormatterExtension {
//    List> valueFormatters = Arrays.asList(
//            AlignmentLog.class, TreeLog.class, VariableLog.class, VariableSummaryLog.class);
    @Override
    public Set> declareValueFormatters() {
        return new HashSet<>();
    }

    /**
     * Required by ServiceLoader.
     */
    public ValueFormatterStudioImpl() {
    }

    public String getExtensionName() {
        return "LPhy studio loggers";
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy