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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
     
    boolean
     
    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.
    The timeout of connections to the manual task service
    The URL of the manual task service
    int
     
    boolean
    If not enabled, no tasks will be send to the manual task service
    void
    setClientId(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.
    void
    setEnabled(boolean enabled)
    If not enabled, no tasks will be send to the manual task service
    void
    The timeout of connections to the manual task service
    void
    The URL of the manual task service
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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

      public String getUrl()
      The URL of the manual task service
    • getClientId

      public String 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

      public Duration 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

      public void setUrl(String url)
      The URL of the manual task service
    • setClientId

      public void setClientId(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.
    • setTimeout

      public void setTimeout(Duration timeout)
      The timeout of connections to the manual task service
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object