public class DefaultActionContext extends Object implements ActionContext
This class represents the request for the actions
| Constructor and Description | 
|---|
DefaultActionContext(Optional<String> type,
                    Optional<String> qualifier,
                    Optional<String> context,
                    Optional<com.edorasware.api.workobject.WorkObject> workObject)  | 
DefaultActionContext(Optional<String> type,
                    Optional<String> context,
                    Optional<com.edorasware.api.workobject.WorkObject> workObject)  | 
| Modifier and Type | Method and Description | 
|---|---|
Optional<String> | 
getContext()
Returns the optional context key. 
 | 
Optional<String> | 
getQualifier()
Returns the optional context qualifier. 
 | 
Optional<String> | 
getType()
Returns the optional work object type. 
 | 
Optional<com.edorasware.api.workobject.WorkObject> | 
getWorkObject()
Returns the optional work object. 
 | 
String | 
toString()  | 
public DefaultActionContext(Optional<String> type, Optional<String> context, Optional<com.edorasware.api.workobject.WorkObject> workObject)
public Optional<String> getType()
ActionContextReturns the optional work object type.
This will be set when requesting actions that apply to a type of work object rather than a specific instance.
getType in interface ActionContextpublic Optional<String> getContext()
ActionContextReturns the optional context key.
getContext in interface ActionContextpublic Optional<com.edorasware.api.workobject.WorkObject> getWorkObject()
ActionContextReturns the optional work object.
This will be set when requesting actions that apply to a specific work object instance.
getWorkObject in interface ActionContextpublic Optional<String> getQualifier()
ActionContextReturns the optional context qualifier.
getQualifier in interface ActionContextCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.