Package core.setup

Class InitialSetup


  • public class InitialSetup
    extends java.lang.Object
    The InitialSetup class : This is the class to implement the initial setup when creating a new myvelib system or network
    • Constructor Summary

      Constructors 
      Constructor Description
      InitialSetup()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static MyVelibSystem getInitialSetupSystem​(java.lang.String[] args)
      This method will be used when running the initialSetup command to get an initial system with some stations, and even maybe users
      static void main​(java.lang.String[] args)
      The main method that will just run the initial setup and save the system
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • InitialSetup

        public InitialSetup()
    • Method Detail

      • getInitialSetupSystem

        public static MyVelibSystem getInitialSetupSystem​(java.lang.String[] args)
        This method will be used when running the initialSetup command to get an initial system with some stations, and even maybe users
        Parameters:
        args - the command line arguments
        Returns:
        the new system (with setup)
      • main

        public static void main​(java.lang.String[] args)
        The main method that will just run the initial setup and save the system
        Parameters:
        args - the command-line arguments