Class AddDirEntryCertExecution
- java.lang.Object
-
- de.gematik.ti.epa.vzd.gem.command.commandExecutions.ExecutionBase
-
- de.gematik.ti.epa.vzd.gem.command.commandExecutions.AddDirEntryCertExecution
-
- All Implemented Interfaces:
java.util.concurrent.Callable<BaseExecutionResult>
public class AddDirEntryCertExecution extends ExecutionBase
Specific execution for Command "AddDirectoryEntryCertificate"
-
-
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 AddDirEntryCertExecution(IConnectionPool connectionPool)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancheckValidation(CommandType command)Every single executor validates their commands and log the missing or wrong valuesprotected ExecutionResultexecuteCommand(CommandType command, GemApiClient apiClient)Function that execute one command and returns the resultbooleanpostCheck()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
-
AddDirEntryCertExecution
public AddDirEntryCertExecution(IConnectionPool connectionPool)
-
-
Method Detail
-
checkValidation
public boolean checkValidation(CommandType command)
Description copied from class:ExecutionBaseEvery single executor validates their commands and log the missing or wrong values- Specified by:
checkValidationin classExecutionBase- Returns:
-
executeCommand
protected ExecutionResult executeCommand(CommandType command, GemApiClient apiClient) throws ApiException
Description copied from class:ExecutionBaseFunction that execute one command and returns the result- Specified by:
executeCommandin classExecutionBase- Returns:
- Throws:
ApiException
-
postCheck
public boolean postCheck()
Description copied from class:ExecutionBaseChecks if the execution was successful and logs the result- Overrides:
postCheckin classExecutionBase- Returns:
-
-