Package org.bonitasoft.engine.command
Class RuntimeCommand
java.lang.Object
org.bonitasoft.engine.command.RuntimeCommand
- All Implemented Interfaces:
Command<ServiceAccessor>
- Direct Known Subclasses:
AbstractStartProcessCommand,AddHandlerCommand,DeletePlatformSessionCommand,ExecuteBDMQueryCommand,GetBusinessDataByIdCommand,GetBusinessDataByIdsCommand,GetBusinessDataByQueryCommand,SearchCommentsSupervisedBy,SearchWaitingEventsCommand,WaitServerCommand
- Author:
- Danila Mazour
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected IntegergetIntegerMandatoryParameter(Map<String, Serializable> parameters, String field) protected LonggetLongMandatoryParameter(Map<String, Serializable> parameters, String field) protected <T> TgetMandatoryParameter(Map<String, Serializable> parameters, String field, String message) protected <T> TgetMandatoryParameter(Map<String, Serializable> parameters, String field, Supplier<String> messageSupplier) protected Map<String,Serializable> getMapMandatoryParameter(Map<String, Serializable> parameters, String field) protected <T> TgetParameter(Map<String, Serializable> parameters, String parameterName) protected <T> TgetParameter(Map<String, Serializable> parameters, String parameterName, String message) protected <T> TgetParameter(Map<String, Serializable> parameters, String parameterName, Supplier<String> messageSupplier) protected StringgetStringMandatoryParameter(Map<String, Serializable> parameters, String field)
-
Constructor Details
-
RuntimeCommand
public RuntimeCommand()
-
-
Method Details
-
getParameter
protected <T> T getParameter(Map<String, Serializable> parameters, String parameterName, String message) throws SCommandParameterizationException -
getParameter
protected <T> T getParameter(Map<String, Serializable> parameters, String parameterName, Supplier<String> messageSupplier) throws SCommandParameterizationException -
getParameter
protected <T> T getParameter(Map<String, Serializable> parameters, String parameterName) throws SCommandParameterizationException -
getLongMandatoryParameter
protected Long getLongMandatoryParameter(Map<String, Serializable> parameters, String field) throws SCommandParameterizationException -
getIntegerMandatoryParameter
protected Integer getIntegerMandatoryParameter(Map<String, Serializable> parameters, String field) throws SCommandParameterizationException -
getStringMandatoryParameter
protected String getStringMandatoryParameter(Map<String, Serializable> parameters, String field) throws SCommandParameterizationException -
getMapMandatoryParameter
protected Map<String,Serializable> getMapMandatoryParameter(Map<String, Serializable> parameters, String field) throws SCommandParameterizationException -
getMandatoryParameter
protected <T> T getMandatoryParameter(Map<String, Serializable> parameters, String field, String message) throws SCommandParameterizationException -
getMandatoryParameter
protected <T> T getMandatoryParameter(Map<String, Serializable> parameters, String field, Supplier<String> messageSupplier) throws SCommandParameterizationException
-