1 package at.ac.tuwien.sbc.valesriegler.xvsm.driver;
3 import at.ac.tuwien.sbc.valesriegler.common.Util;
4 import at.ac.tuwien.sbc.valesriegler.xvsm.CookXVSM;
5 import at.ac.tuwien.sbc.valesriegler.xvsm.DriverXVSM;
6 import org.slf4j.Logger;
7 import org.slf4j.LoggerFactory;
10 private static final String USAGE = "Driver needs exactly one parameter: ID of type Integer";
11 private static final Logger log = LoggerFactory.getLogger(Driver.class);
14 private DriverXVSM xvsm;
16 public static void main(String[] args) {
17 final int parsedId = Util.parseId(args, USAGE);
19 Driver cook = new Driver(parsedId);
24 private void start() {
25 xvsm = new DriverXVSM(id);
29 public Driver(int id) {
31 log.info("I AM A Driver WITH ID {}", id);