org.opentcs.kernel.extensions.adminwebapi.AdminWebApiConfiguration Maven / Gradle / Ivy
/**
* Copyright (c) The openTCS Authors.
*
* This program is free software and subject to the MIT license. (For details,
* see the licensing information (LICENSE.txt) you should have received with
* this copy of the software.)
*/
package org.opentcs.kernel.extensions.adminwebapi;
import org.opentcs.configuration.ConfigurationEntry;
import org.opentcs.configuration.ConfigurationPrefix;
/**
* Configuration entries for the administration web API.
*
* @author Stefan Walter (Fraunhofer IML)
*/
@ConfigurationPrefix(AdminWebApiConfiguration.PREFIX)
public interface AdminWebApiConfiguration {
String PREFIX = "adminwebapi";
@ConfigurationEntry(
type = "Boolean",
description = "Whether to enable the admin interface.",
orderKey = "0")
boolean enable();
@ConfigurationEntry(
type = "IP address",
description = "Address to which to bind the HTTP server, e.g. 0.0.0.0. (Default: 127.0.0.1.)",
orderKey = "1")
String bindAddress();
@ConfigurationEntry(
type = "Integer",
description = "Port to which to bind the HTTP server.",
orderKey = "2")
int bindPort();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy