Interface Context


public interface Context

Represents the connection to the the execution environment and the Salesforce instance that the function is associated with.

Method Summary

Modifier and TypeMethodDescription
java.lang.StringgetId()Returns the unique identifier for a given execution of a function.
java.util.Optional<Org>getOrg()Returns information about the invoking Salesforce organization and user.

Method Details

getId

@Nonnull java.lang.String getId()

Returns the unique identifier for a given execution of a function.

Returns: The unique identifier for a given execution of a function.

getOrg

@Nonnull java.util.Optional<Org> getOrg()

Returns information about the invoking Salesforce organization and user.

Returns: Information about the invoking Salesforce organization and user.