Package org.jobrunr.dashboard
Class JobRunrDashboardWebServerConfiguration
- java.lang.Object
-
- org.jobrunr.dashboard.JobRunrDashboardWebServerConfiguration
-
public class JobRunrDashboardWebServerConfiguration extends java.lang.Object
This class allows to configure the JobRunrDashboard
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JobRunrDashboardWebServerConfiguration
andPort(int port)
Specifies the port on which the JobRunrDashboard will runstatic JobRunrDashboardWebServerConfiguration
usingStandardDashboardConfiguration()
This returns the default configuration with the JobRunrDashboard running on port 8000
-
-
-
Method Detail
-
usingStandardDashboardConfiguration
public static JobRunrDashboardWebServerConfiguration usingStandardDashboardConfiguration()
This returns the default configuration with the JobRunrDashboard running on port 8000- Returns:
- the default JobRunrDashboard configuration
-
andPort
public JobRunrDashboardWebServerConfiguration andPort(int port)
Specifies the port on which the JobRunrDashboard will run- Parameters:
port
- the port on which the JobRunrDashboard will run- Returns:
- the same configuration instance which provides a fluent api
-
-