public class FederatedGetTraitsHandler extends Object implements OutputOperationHandler<GetTraits,Set<StoreTrait>>
StoreTrait
that are common for all visible graphs.
traits1 = [a,b,c]
traits2 = [b,c]
traits3 = [a,b]
return [b]Constructor and Description |
---|
FederatedGetTraitsHandler() |
Modifier and Type | Method and Description |
---|---|
Set<StoreTrait> |
doOperation(GetTraits operation,
Context context,
Store store)
Execute the given
Output operation. |
public Set<StoreTrait> doOperation(GetTraits operation, Context context, Store store) throws OperationException
OutputOperationHandler
Output
operation.doOperation
in interface OperationHandler<GetTraits>
doOperation
in interface OutputOperationHandler<GetTraits,Set<StoreTrait>>
operation
- the Output
operation to be executedcontext
- the operation chain context, containing the user who executed the operationstore
- the Store
the operation should be run onOperationException
- thrown if the operation failsCopyright © 2022. All rights reserved.