public class AddNamedOperation extends Object implements Operation, Operations<Operation>
AddNamedOperation
is an Operation
for creating a new NamedOperation
and adding it to a Gaffer graph.Modifier and Type | Class and Description |
---|---|
static class |
AddNamedOperation.Builder |
Operation.BaseBuilder<OP extends Operation,B extends Operation.BaseBuilder<OP,?>>
Constructor and Description |
---|
AddNamedOperation() |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_getNullOrOptions, addOption, asOperationChain, close, getOption, getOption, validate, validateRequiredFieldPresent
flatten, getOperationsClass
public boolean isOverwriteFlag()
public void setOverwriteFlag(boolean overwriteFlag)
public void setOperationChain(String operationChain)
public void setOperationChain(com.fasterxml.jackson.databind.JsonNode opChainNode)
public String getOperationChainAsString()
public com.fasterxml.jackson.databind.JsonNode getOperationChainAsJsonNode()
public void setOperationChain(OperationChain operationChain)
public String getOperationName()
public void setOperationName(String operationName)
public String getDescription()
public void setDescription(String description)
public void setParameters(Map<String,ParameterDetail> parameters)
public Map<String,ParameterDetail> getParameters()
public AddNamedOperation shallowClone()
Operation
shallowClone
in interface Operation
public Map<String,String> getOptions()
getOptions
in interface Operation
public void setOptions(Map<String,String> options)
setOptions
in interface Operation
options
- the operation options. This may contain store specific options such as authorisation strings or and
other properties required for the operation to be executed. Note these options will probably not be interpreted
in the same way by every store implementation.public Integer getScore()
public void setScore(Integer score)
public AccessPredicate getWriteAccessPredicate()
public void setWriteAccessPredicate(AccessPredicate writeAccessPredicate)
public AccessPredicate getReadAccessPredicate()
public void setReadAccessPredicate(AccessPredicate readAccessPredicate)
public Collection<Operation> getOperations()
Operations
Collection
of all operations contained within the Operations
implementation.
The collection of operations may be modified by Gaffer.getOperations
in interface Operations<Operation>
public void updateOperations(Collection<Operation> operations)
Operations
updateOperations
in interface Operations<Operation>
operations
- the new operations.Copyright © 2022. All rights reserved.