com.hubspot.singularity.s3uploader.SingularityS3UploaderRunner Maven / Gradle / Ivy
package com.hubspot.singularity.s3uploader;
import java.util.Arrays;
import com.google.common.collect.ImmutableSet;
import com.hubspot.singularity.runner.base.config.SingularityRunnerBaseModule;
import com.hubspot.singularity.runner.base.configuration.BaseRunnerConfiguration;
import com.hubspot.singularity.runner.base.shared.SingularityRunner;
import com.hubspot.singularity.s3.base.config.SingularityS3Configuration;
import com.hubspot.singularity.s3uploader.config.SingularityS3UploaderConfiguration;
import com.hubspot.singularity.s3uploader.config.SingularityS3UploaderModule;
public class SingularityS3UploaderRunner {
public static void main(String... args) {
new SingularityS3UploaderRunner().run(args);
}
private SingularityS3UploaderRunner() {}
public void run(String[] args) {
new SingularityRunner().run(Arrays.asList(new SingularityRunnerBaseModule(SingularityS3UploaderConfiguration.class, ImmutableSet.>of(SingularityS3Configuration.class)), new SingularityS3UploaderModule()));
}
}