io.github.sinri.drydock.naval.carrier.AircraftCarrierDeck Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of DryDock Show documentation
Show all versions of DryDock Show documentation
Prototype Library for Keel Based Java Projects.
package io.github.sinri.drydock.naval.carrier;
import io.github.sinri.drydock.common.CommonUnit;
import io.github.sinri.drydock.common.logging.DryDockLogTopics;
import io.github.sinri.keel.core.TechnicalPreview;
import io.github.sinri.keel.logger.event.KeelEventLogger;
import io.github.sinri.keel.logger.issue.center.KeelIssueRecordCenter;
import io.vertx.core.cli.Argument;
import io.vertx.core.cli.CLI;
import io.vertx.core.cli.CommandLine;
import io.vertx.core.cli.Option;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import java.util.List;
/**
* @since 1.5.0 Technical Preview
*/
@TechnicalPreview(since = "1.5.0")
public abstract class AircraftCarrierDeck implements CommonUnit {
protected KeelIssueRecordCenter issueRecordCenter;
private KeelEventLogger unitLogger;
public final void launch(String[] args) {
issueRecordCenter = KeelIssueRecordCenter.outputCenter();
unitLogger = generateEventLogger(DryDockLogTopics.TopicDryDock);
var cli = CLI.create(buildCliName())
.setDescription(buildCliDescription());
List