public class GetTraits extends Object implements Operation, Output<Set<StoreTrait>>
Modifier and Type | Class and Description |
---|---|
static class |
GetTraits.Builder |
Operation.BaseBuilder<OP extends Operation,B extends Operation.BaseBuilder<OP,?>>
Modifier and Type | Field and Description |
---|---|
static boolean |
DEFAULT_CURRENT_TRAITS |
Constructor and Description |
---|
GetTraits() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getOptions() |
com.fasterxml.jackson.core.type.TypeReference<Set<StoreTrait>> |
getOutputTypeReference() |
boolean |
isCurrentTraits() |
void |
setCurrentTraits(boolean currentTraits) |
void |
setOptions(Map<String,String> options) |
GetTraits |
shallowClone()
Operation implementations should ensure a ShallowClone method is implemented.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
castToOutputType, getOutputClass
_getNullOrOptions, addOption, asOperationChain, close, getOption, getOption, validate, validateRequiredFieldPresent
public static final boolean DEFAULT_CURRENT_TRAITS
public GetTraits shallowClone() throws org.apache.commons.lang3.exception.CloneFailedException
Operation
shallowClone
in interface Operation
org.apache.commons.lang3.exception.CloneFailedException
- if a Clone error occurspublic boolean isCurrentTraits()
public void setCurrentTraits(boolean currentTraits)
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 com.fasterxml.jackson.core.type.TypeReference<Set<StoreTrait>> getOutputTypeReference()
getOutputTypeReference
in interface Output<Set<StoreTrait>>
Copyright © 2022. All rights reserved.