Class GcMessageSend

java.lang.Object
edu.internet2.middleware.grouperClient.api.GcMessageSend

public class GcMessageSend extends Object
  • Constructor Details

    • GcMessageSend

      public GcMessageSend()
  • Method Details

    • assignWsEndpoint

      public GcMessageSend assignWsEndpoint(String theWsEndpoint)
      endpoint to grouper WS, e.g. https://server.school.edu/grouper-ws/servicesRest
      Parameters:
      theWsEndpoint -
      Returns:
      this for chaining
    • assignWsUser

      public GcMessageSend assignWsUser(String theWsUser)
      ws user
      Parameters:
      theWsUser -
      Returns:
      this for chaining
    • assignWsPass

      public GcMessageSend assignWsPass(String theWsPass)
      ws pass
      Parameters:
      theWsPass -
      Returns:
      this for chaining
    • assignWsPassEncrypted

      public GcMessageSend assignWsPassEncrypted(String theWsPassEncrypted)
      ws pass
      Parameters:
      theWsPass -
      Returns:
      this for chaining
    • assignWsPassFile

      public GcMessageSend assignWsPassFile(File theFile)
      ws pass
      Parameters:
      theWsPass -
      Returns:
      this for chaining
    • assignWsPassFileEncrypted

      public GcMessageSend assignWsPassFileEncrypted(File theFile)
      ws pass
      Parameters:
      theWsPass -
      Returns:
      this for chaining
    • assignRoutingKey

      public GcMessageSend assignRoutingKey(String theRoutingKey)
      routing key for rabbitmq
      Parameters:
      theRoutingKey -
      Returns:
      this for chaining
    • assignAutocreateObjets

      public GcMessageSend assignAutocreateObjets(Boolean theAutocreateObjects)
      create queue/topic if doesn't exist already.
      Parameters:
      theAutocreateObjects -
      Returns:
      this for chaining
    • assignQueueType

      public GcMessageSend assignQueueType(String theQueueOrTopic)
      Parameters:
      theQueueOrTopic -
      Returns:
      this for chaining
    • assignQueueOrTopicName

      public GcMessageSend assignQueueOrTopicName(String theQueueOrTopicName)
      Parameters:
      theQueueOrTopicName -
      Returns:
    • assignMessageSystemName

      public GcMessageSend assignMessageSystemName(String theMessageSystemName)
      Parameters:
      theMessageSystemName -
      Returns:
    • addMessage

      public GcMessageSend addMessage(WsMessage wsMessage)
      add a message to the list
      Parameters:
      wsMessage -
      Returns:
      this for chaining
    • addParam

      public GcMessageSend addParam(String paramName, String paramValue)
      add a param to the list
      Parameters:
      paramName -
      paramValue -
      Returns:
      this for chaining
    • addParam

      public GcMessageSend addParam(WsParam wsParam)
      add a param to the list
      Parameters:
      wsParam -
      Returns:
      this for chaining
    • assignActAsSubject

      public GcMessageSend assignActAsSubject(WsSubjectLookup theActAsSubject)
      assign the act as subject if any
      Parameters:
      theActAsSubject -
      Returns:
      this for chaining
    • assignClientVersion

      public GcMessageSend assignClientVersion(String theClientVersion)
      assign client version
      Parameters:
      theClientVersion -
      Returns:
      this for chaining
    • execute

      public WsMessageResults execute()
      execute the call and return the results. If there is a problem calling the service, an exception will be thrown
      Returns:
      the results