Interface Context


public interface Context

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

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.

@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.

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

Returns information about the invoking Salesforce organization and user.

Returns: Information about the invoking Salesforce organization and user.