Class GoApplicationAccessor

java.lang.Object
com.thoughtworks.go.plugin.api.GoApplicationAccessor

public abstract class GoApplicationAccessor
extends java.lang.Object
GoApplicationAccessor will provide an abstraction over communication from plugin to Go. An instance GoApplicationAccessor will be provided to plugin via GoPlugin abstraction
  • Constructor Summary

    Constructors
    Constructor Description
    GoApplicationAccessor()  
  • Method Summary

    Modifier and Type Method Description
    abstract GoApiResponse submit​(GoApiRequest request)
    Submits an instance of GoApiRequest to Go and returns an instance of GoApiResponse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GoApplicationAccessor

      public GoApplicationAccessor()
  • Method Details

    • submit

      public abstract GoApiResponse submit​(GoApiRequest request)
      Submits an instance of GoApiRequest to Go and returns an instance of GoApiResponse
      Parameters:
      request - An instance of GoApiRequest
      Returns:
      an instance of GoApiResponse