protected internal virtual void validateParameters() { ensureOnlyOneNotNull("Need to specify either a job definition id, a process definition id or a process definition key.", jobDefinitionId, processDefinitionId, processDefinitionKey); if (isProcessDefinitionTenantIdSet && (!string.ReferenceEquals(jobDefinitionId, null) || !string.ReferenceEquals(processDefinitionId, null))) { throw LOG.exceptionUpdateSuspensionStateForTenantOnlyByProcessDefinitionKey(); } ensureNotNull("commandExecutor", commandExecutor); }