Class TaskManagementServiceProperties
java.lang.Object
ch.admin.bit.jeap.errorhandling.infrastructure.manualtask.TaskManagementServiceProperties
@Configuration
@ConfigurationProperties(prefix="jeap.errorhandling.task-management.service")
public class TaskManagementServiceProperties
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe id identifying the oauth2 client in the spring boot oauth2 client registration configuration that should be used to authenticate requests to the task management service.The timeout of connections to the manual task servicegetUrl()The URL of the manual task serviceinthashCode()booleanIf not enabled, no tasks will be send to the manual task servicevoidsetClientId(String clientId) The id identifying the oauth2 client in the spring boot oauth2 client registration configuration that should be used to authenticate requests to the task management service.voidsetEnabled(boolean enabled) If not enabled, no tasks will be send to the manual task servicevoidsetTimeout(Duration timeout) The timeout of connections to the manual task servicevoidThe URL of the manual task servicetoString()
-
Constructor Details
-
TaskManagementServiceProperties
public TaskManagementServiceProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()If not enabled, no tasks will be send to the manual task service -
getUrl
The URL of the manual task service -
getClientId
The id identifying the oauth2 client in the spring boot oauth2 client registration configuration that should be used to authenticate requests to the task management service. -
getTimeout
The timeout of connections to the manual task service -
setEnabled
public void setEnabled(boolean enabled) If not enabled, no tasks will be send to the manual task service -
setUrl
The URL of the manual task service -
setClientId
The id identifying the oauth2 client in the spring boot oauth2 client registration configuration that should be used to authenticate requests to the task management service. -
setTimeout
The timeout of connections to the manual task service -
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
-