Class ReadDirEntryExecution
- java.lang.Object
-
- de.gematik.ti.epa.vzd.gem.command.commandExecutions.ExecutionBase
-
- de.gematik.ti.epa.vzd.gem.command.commandExecutions.ReadDirEntryExecution
-
- All Implemented Interfaces:
java.util.concurrent.Callable<BaseExecutionResult>
- Direct Known Subclasses:
ReadDirEntrySyncExecution
public class ReadDirEntryExecution extends ExecutionBase
Specific execution for Command "ReadDirectoryEntry"
-
-
Field Summary
-
Fields inherited from class de.gematik.ti.epa.vzd.gem.command.commandExecutions.ExecutionBase
commands, connectionPool, execCommand, FIRST_INDEX
-
-
Constructor Summary
Constructors Constructor Description ReadDirEntryExecution(IConnectionPool connectionPool)
ReadDirEntryExecution(IConnectionPool connectionPool, CommandNamesEnum commandNamesEnum)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkValidation(CommandType command)
Every single executor validates their commands and log the missing or wrong valuesprotected ExecutionResult
executeCommand(CommandType command, GemApiClient apiClient)
Function that execute one command and returns the resultboolean
postCheck()
Checks if the execution was successful and logs the result-
Methods inherited from class de.gematik.ti.epa.vzd.gem.command.commandExecutions.ExecutionBase
call, canHandleCommand, createCallable, extractExecutorName, findTelematiId, getUid, getUidByTelematikId, isEntryPresent, preCheck, reset, searchByUserCertificate
-
-
-
-
Constructor Detail
-
ReadDirEntryExecution
public ReadDirEntryExecution(IConnectionPool connectionPool)
-
ReadDirEntryExecution
public ReadDirEntryExecution(IConnectionPool connectionPool, CommandNamesEnum commandNamesEnum)
-
-
Method Detail
-
checkValidation
public boolean checkValidation(CommandType command)
Description copied from class:ExecutionBase
Every single executor validates their commands and log the missing or wrong values- Specified by:
checkValidation
in classExecutionBase
- Returns:
-
executeCommand
protected ExecutionResult executeCommand(CommandType command, GemApiClient apiClient) throws ApiException
Description copied from class:ExecutionBase
Function that execute one command and returns the result- Specified by:
executeCommand
in classExecutionBase
- Returns:
- Throws:
ApiException
-
postCheck
public boolean postCheck()
Description copied from class:ExecutionBase
Checks if the execution was successful and logs the result- Overrides:
postCheck
in classExecutionBase
- Returns:
-
-