io.keen.client.java
Class KeenProject

java.lang.Object
  extended by io.keen.client.java.KeenProject

public class KeenProject
extends java.lang.Object

Encapsulation of a single Keen project, including read/write keys.

Since:
2.0.0

Constructor Summary
KeenProject()
           
KeenProject(java.lang.String projectId, java.lang.String writeKey, java.lang.String readKey)
          Construct a Keen project.
 
Method Summary
 java.lang.String getProjectId()
          Getter for the Keen Project Id associated with this instance of the KeenClient.
 java.lang.String getReadKey()
          Getter for the Keen Read Key associated with this instance of the KeenClient.
 java.lang.String getWriteKey()
          Getter for the Keen Write Key associated with this instance of the KeenClient.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KeenProject

public KeenProject()

KeenProject

public KeenProject(java.lang.String projectId,
                   java.lang.String writeKey,
                   java.lang.String readKey)
Construct a Keen project.

Parameters:
projectId - The Keen IO Project ID.
writeKey - Your Keen IO Write Key. This may be null if this project will only be used for reading events.
readKey - Your Keen IO Read Key. This may be null if this project will only be used for writing events.
Method Detail

getProjectId

public java.lang.String getProjectId()
Getter for the Keen Project Id associated with this instance of the KeenClient.

Returns:
the Keen Project Id

getReadKey

public java.lang.String getReadKey()
Getter for the Keen Read Key associated with this instance of the KeenClient.

Returns:
the Keen Read Key

getWriteKey

public java.lang.String getWriteKey()
Getter for the Keen Write Key associated with this instance of the KeenClient.

Returns:
the Keen Write Key