Class LRS


  • public class LRS
    extends Object
    Object for holding LRS connection details for StatementClient.
    • Constructor Detail

      • LRS

        public LRS​(String host,
                   String key,
                   String secret,
                   Integer batchSize)
        Constructor to create an LRS object with specific connection params
        Parameters:
        host - Host for LRS. Should include path, e.g. 'http://lrs.yetanalytics.com/xapi'
        key - Key for LRS credentials
        secret - Secret for LRS credentials
        batchSize - Optional post batch size, defaults to 50
      • LRS

        public LRS​(String host,
                   String key,
                   String secret)
        Constructor to create an LRS object with specific connection params
        Parameters:
        host - Host for LRS. Should include path, e.g. 'http://lrs.yetanalytics.com/xapi'
        key - Key for LRS credentials
        secret - Secret for LRS credentials
    • Method Detail

      • getHost

        public URI getHost()
      • setHost

        public void setHost​(URI host)
      • getKey

        public String getKey()
      • setKey

        public void setKey​(String key)
      • getSecret

        public String getSecret()
      • setSecret

        public void setSecret​(String secret)
      • getBatchSize

        public Integer getBatchSize()
      • setBatchSize

        public void setBatchSize​(Integer batchSize)