Package es.urjc.etsii.grafo.events
Class EventWebserverConfig
java.lang.Object
es.urjc.etsii.grafo.events.EventWebserverConfig
@Configuration
@ConfigurationProperties(prefix="event.webserver")
public class EventWebserverConfig
extends Object
This class is used to configure the behaviour of the webserver as specified in the application.yml
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Stop webserver when all experiments finish executing?void
setStopOnExecutionEnd
(boolean stopOnExecutionEnd) Stop webserver when all experiments finish executing?
-
Constructor Details
-
EventWebserverConfig
public EventWebserverConfig()
-
-
Method Details
-
isStopOnExecutionEnd
public boolean isStopOnExecutionEnd()Stop webserver when all experiments finish executing?- Returns:
- true to stop after all experiments end, false to keep backend running
-
setStopOnExecutionEnd
public void setStopOnExecutionEnd(boolean stopOnExecutionEnd) Stop webserver when all experiments finish executing?- Parameters:
stopOnExecutionEnd
- true to stop after all experiments end, false to keep backend running
-