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<WorkObject> workObject) |
DefaultActionContext(Optional<String> type,
Optional<String> context,
Optional<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<WorkObject> |
getWorkObject()
Returns the optional work object.
|
String |
toString() |
public DefaultActionContext(Optional<String> type, Optional<String> context, Optional<WorkObject> workObject)
public Optional<String> getType()
ActionContext
Returns 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 ActionContext
public Optional<String> getContext()
ActionContext
Returns the optional context key.
getContext
in interface ActionContext
public Optional<WorkObject> getWorkObject()
ActionContext
Returns the optional work object.
This will be set when requesting actions that apply to a specific work object instance.
getWorkObject
in interface ActionContext
public Optional<String> getQualifier()
ActionContext
Returns the optional context qualifier.
getQualifier
in interface ActionContext
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.