Class GenericParameters

  • All Implemented Interfaces:
    ExternalParameters

    public class GenericParameters
    extends java.lang.Object
    implements ExternalParameters
    Parameters required to report a basic external call using TracedMethod's reportAsExternal. A fluent builder is provided to allow for easy usage and management of this API.
    Since:
    3.36.0
    • Constructor Detail

      • GenericParameters

        protected GenericParameters​(java.lang.String library,
                                    java.net.URI uri,
                                    java.lang.String procedure)
      • GenericParameters

        protected GenericParameters​(GenericParameters genericParameters)
    • Method Detail

      • getLibrary

        public java.lang.String getLibrary()
        Returns the name of the framework used to make the connection.
        Returns:
        the Framework name
        Since:
        3.36.0
      • getUri

        public java.net.URI getUri()
        Returns the URI for the external call.
        Returns:
        the URI for the call.
        Since:
        3.36.0
      • getProcedure

        public java.lang.String getProcedure()
        Returns the HTTP method or Java method for the call.
        Returns:
        the HTTP Method or Java method called.
        Since:
        3.36.0
      • library

        public static GenericParameters.UriParameter library​(java.lang.String library)
        Set the name of the library.
        Parameters:
        library - the name of the library
        Returns:
        the next builder interface