package ahlers.phantom.embedded;

import de.flapdoodle.embed.process.distribution.IVersion;
import de.flapdoodle.embed.process.extract.IExtractedFileSet;

import java.io.IOException;
import java.util.List;

/**
 * Inspired by {{com.wix.mysql.distribution.service.IPhantomCommand}}.
 *
 * @see <a href="https://github.com/wix/wix-embedded-mysql">Wix Embedded MySQL</a>
 */
public interface IPhantomCommand {

    boolean matches(final IVersion version);

    List<String> emit(final IPhantomConfig config, final IExtractedFileSet files) throws IOException;

}

package ahlers.phantom.embedded;

import de.flapdoodle.embed.process.distribution.IVersion;
import de.flapdoodle.embed.process.extract.IExtractedFileSet;

import java.io.IOException;
import java.util.List;

/**
 * Inspired by {{com.wix.mysql.distribution.service.IPhantomCommand}}.
 *
 * @see <a href="https://github.com/wix/wix-embedded-mysql">Wix Embedded MySQL</a>
 */
public interface IPhantomCommand {

    boolean matches(IVersion version);

    List<String> emit(IPhantomConfig config, IExtractedFileSet files) throws IOException;

}

Remove redundant final modifiers