Class ServiceDescription

java.lang.Object
uk.ac.manchester.spinnaker.alloc.web.ServiceDescription

public class ServiceDescription extends Object
The description of the overall service.
Author:
Donal Fellows
  • Constructor Details

    • ServiceDescription

      public ServiceDescription()
      Create an instance.
  • Method Details

    • getVersion

      public Version getVersion()
      Returns:
      The service version
    • getJobsRef

      public URI getJobsRef()
      Returns:
      Where to work with jobs
    • getMachinesRef

      public URI getMachinesRef()
      Returns:
      Where to work with machines
    • getCsrfHeader

      public String getCsrfHeader()
      Returns:
      the name of the HTTP header to pass the CSRF token in
    • getCsrfToken

      public String getCsrfToken()
      Returns:
      the CSRF token