Class GetEmptyFieldsTask
java.lang.Object
ch.tocco.nice2.entityoperation.api.persisttask.GetEmptyFieldsTask
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
GetEmptyFieldsTask
public GetEmptyFieldsTask()
-
-
Method Details
-
run
public Set<String> run(Optional<Tuple2<Entity, Iterable<String>>> arg, CommandContext commandContext) throws PersistException - Specified by:
runin interfacePersistTask<Tuple2<Entity, Iterable<String>>, Set<String>>- Parameters:
arg- A Tuple2 that contains the entity and an Iterable of field namescommandContext- The command context- Returns:
- A set of all field names that are not set
- Throws:
PersistException
-