com.force.sdk.oauth.connector
Class ForceOAuthConnectionInfo

java.lang.Object
  extended by com.force.sdk.oauth.connector.ForceOAuthConnectionInfo

public class ForceOAuthConnectionInfo
extends Object

Bean which stores Force.com oauth connection information.

Author:
Tim Kral

Constructor Summary
ForceOAuthConnectionInfo()
           
 
Method Summary
 String getEndpoint()
           
 String getOauthKey()
           
 String getOauthSecret()
           
 void setConnectionUrl(String connectionUrl)
          Parse the connection url and set the values pulled from it.
 void setEndpoint(String endpoint)
           
 void setOauthKey(String oauthKey)
           
 void setOauthSecret(String oauthSecret)
           
 void validate()
          Ensure that the contained data represents a valid OAuth Connection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForceOAuthConnectionInfo

public ForceOAuthConnectionInfo()
Method Detail

setConnectionUrl

public void setConnectionUrl(String connectionUrl)
Parse the connection url and set the values pulled from it.

Parameters:
connectionUrl - String

getEndpoint

public String getEndpoint()

setEndpoint

public void setEndpoint(String endpoint)

getOauthKey

public String getOauthKey()

setOauthKey

public void setOauthKey(String oauthKey)

getOauthSecret

public String getOauthSecret()

setOauthSecret

public void setOauthSecret(String oauthSecret)

validate

public void validate()
Ensure that the contained data represents a valid OAuth Connection.



Copyright © 2011. All Rights Reserved.