Class FilterPersistedValueAction
- java.lang.Object
-
- com.arassec.igor.core.model.BaseIgorComponent
-
- com.arassec.igor.core.model.action.BaseAction
-
- com.arassec.igor.module.misc.action.persistence.BasePersistenceAction
-
- com.arassec.igor.module.misc.action.persistence.FilterPersistedValueAction
-
- All Implemented Interfaces:
Action,IgorComponent
public class FilterPersistedValueAction extends BasePersistenceAction
Filters data of which a value has already been persisted before.
-
-
Field Summary
-
Fields inherited from class com.arassec.igor.core.model.action.BaseAction
active, numThreads
-
Fields inherited from class com.arassec.igor.core.model.BaseIgorComponent
id
-
-
Constructor Summary
Constructors Constructor Description FilterPersistedValueAction(PersistentValueRepository persistentValueRepository)Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Map<String,Object>>process(Map<String,Object> data, JobExecution jobExecution)Retrieves the value from the supplied data and searches it in the persisted values.-
Methods inherited from class com.arassec.igor.core.model.action.BaseAction
clone, complete, getJobId, getJsonPathConfiguration, getName, getNumThreads, getString, isActive, isQuery, isSimulation, reset, setActive, setJsonPathConfiguration, setName, setNumThreads
-
Methods inherited from class com.arassec.igor.core.model.BaseIgorComponent
getCategoryId, getId, getTypeId, getUnEditableProperties, initialize, setId, shutdown
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.arassec.igor.core.model.IgorComponent
getCategoryId, getId, getTypeId, getUnEditableProperties, initialize, setId, shutdown
-
-
-
-
Constructor Detail
-
FilterPersistedValueAction
public FilterPersistedValueAction(PersistentValueRepository persistentValueRepository)
Creates a new instance.- Parameters:
persistentValueRepository- The repository for persisted values.
-
-
Method Detail
-
process
public List<Map<String,Object>> process(Map<String,Object> data, JobExecution jobExecution)
Retrieves the value from the supplied data and searches it in the persisted values. If it is already persisted, the data is ignored.- Parameters:
data- The data the action will work with.jobExecution- The job execution log.- Returns:
- The manipulated data.
-
-