public class InvocationContext extends Object
invocation of an operation.| Constructor and Description |
|---|
InvocationContext(ApiVersion apiVersion,
SecurityContext securityContext,
Map<String,Object> arguments)
Creates a new context for an operation being invoked by the given
securityContext with the given available arguments. |
InvocationContext(SecurityContext securityContext,
Map<String,Object> arguments)
Creates a new context for an operation being invoked by the given
securityContext with the given available arguments. |
| Modifier and Type | Method and Description |
|---|---|
ApiVersion |
getApiVersion()
Return the API version in use.
|
Map<String,Object> |
getArguments()
Return the invocation arguments.
|
SecurityContext |
getSecurityContext()
Return the security context to use for the invocation.
|
public InvocationContext(SecurityContext securityContext, Map<String,Object> arguments)
securityContext with the given available arguments.securityContext - the current security context. Never nullarguments - the arguments available to the operation. Never nullpublic InvocationContext(ApiVersion apiVersion, SecurityContext securityContext, Map<String,Object> arguments)
securityContext with the given available arguments.apiVersion - the API version or null to use the latestsecurityContext - the current security context. Never nullarguments - the arguments available to the operation. Never nullpublic ApiVersion getApiVersion()
public SecurityContext getSecurityContext()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.