From 0325732810aaa8c38e717bb9a801d5697fac5dee Mon Sep 17 00:00:00 2001 From: Jan Vales Date: Thu, 2 May 2013 16:04:45 +0200 Subject: [PATCH] Added JobGenerator skeleton --- run JobGenerator.launch | 16 ++++++++++++++++ .../java/at/ac/tuwien/lsdc/JobGenerator.java | 16 ++++++++++++++++ src/main/java/at/ac/tuwien/lsdc/types/Task.java | 6 ++++++ 3 files changed, 38 insertions(+) create mode 100644 run JobGenerator.launch create mode 100644 src/main/java/at/ac/tuwien/lsdc/JobGenerator.java create mode 100644 src/main/java/at/ac/tuwien/lsdc/types/Task.java diff --git a/run JobGenerator.launch b/run JobGenerator.launch new file mode 100644 index 0000000..3c15170 --- /dev/null +++ b/run JobGenerator.launch @@ -0,0 +1,16 @@ + + + + + + + + + + + + + + + + diff --git a/src/main/java/at/ac/tuwien/lsdc/JobGenerator.java b/src/main/java/at/ac/tuwien/lsdc/JobGenerator.java new file mode 100644 index 0000000..82c6b9f --- /dev/null +++ b/src/main/java/at/ac/tuwien/lsdc/JobGenerator.java @@ -0,0 +1,16 @@ +package at.ac.tuwien.lsdc; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +public class JobGenerator { + private static final Logger log = LoggerFactory.getLogger(JobGenerator.class); + private static final String USAGE = "JobGenerator needs exactly 3 parameters: Szenario, count, targetFile"; + + public static void main(String[] args) throws Exception { + if (args.length != 3) { + throw new IllegalArgumentException(USAGE); + } + log.info("Generate CSV with..."); + } +} diff --git a/src/main/java/at/ac/tuwien/lsdc/types/Task.java b/src/main/java/at/ac/tuwien/lsdc/types/Task.java new file mode 100644 index 0000000..22ce550 --- /dev/null +++ b/src/main/java/at/ac/tuwien/lsdc/types/Task.java @@ -0,0 +1,6 @@ +package at.ac.tuwien.lsdc.types; + +// one line of a CSV-File. Convert to APP or try to outsource. +public class Task { + +} -- 2.43.0