Package core
Class CoreApp
- java.lang.Object
-
- core.CoreApp
-
public class CoreApp extends java.lang.Object
The CoreApp class: This class is responsible to be the core class that executes the core package when running the java myVelib framework It is indeed the core main application itself
-
-
Constructor Summary
Constructors Constructor Description CoreApp()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addMyVelibSystem(MyVelibSystem system)
A method to add a new system to the systems variablestatic java.util.List<MyVelibSystem>
getSystems()
a getter for systemsstatic void
main(java.lang.String[] args)
This is the main() method of our myVelib core app.static void
setSystems(java.util.List<MyVelibSystem> systems)
A setter for systems
-
-
-
Method Detail
-
getSystems
public static java.util.List<MyVelibSystem> getSystems()
a getter for systems- Returns:
- All systems of the myVelib app
-
setSystems
public static void setSystems(java.util.List<MyVelibSystem> systems)
A setter for systems- Parameters:
systems
- A list of systems that is used to set all systems in the application
-
main
public static void main(java.lang.String[] args)
This is the main() method of our myVelib core app. It is here only for consistence, but it is not required to run the cli application.- Parameters:
args
- the arguments of our core myVelib application
-
addMyVelibSystem
public static void addMyVelibSystem(MyVelibSystem system)
A method to add a new system to the systems variable- Parameters:
system
- A system that will be added to the Main class (of the myVelib app)
-
-