Uses of Enum Class
com.codebarrel.api.Environment
Packages that use Environment
Package
Description
-
Uses of Environment in com.codebarrel.api
Methods in com.codebarrel.api that return EnvironmentModifier and TypeMethodDescriptionstatic EnvironmentReturns the enum constant of this class with the specified name.static Environment[]Environment.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in com.codebarrel.api with parameters of type EnvironmentModifier and TypeMethodDescriptionlongAddonProperties.getLongProperty(Environment env, String key, long defaultValue) AddonProperties.getProperty(Environment environment, String key) -
Uses of Environment in com.codebarrel.api.metrics
Methods in com.codebarrel.api.metrics with parameters of type EnvironmentModifier and TypeMethodDescriptiondefault voidMetricsClient.histogram(Environment environment, String metricName, double value, MetricsTag... tags) default voidMetricsClient.histogram(Environment environment, String metricName, double value, List<MetricsTag> tags) default voidMetricsClient.increment(Environment environment, String metricName, double value, MetricsTag... tags) default voidMetricsClient.increment(Environment environment, String metricName, MetricsTag... tags) default voidMetricsClient.increment(Environment environment, String metricName, List<MetricsTag> tags) default voidMetricsClient.timer(Environment environment, String metricName, Duration duration, MetricsTag... tags) default voidMetricsClient.timer(Environment environment, String metricName, Duration duration, List<MetricsTag> tags) Constructors in com.codebarrel.api.metrics with parameters of type EnvironmentModifierConstructorDescriptionDurationMetrics(Environment environment, String metricName, MetricsClient metricsClient, List<MetricsTag> tags) -
Uses of Environment in com.codebarrel.automation.api.audit
Methods in com.codebarrel.automation.api.audit that return EnvironmentConstructors in com.codebarrel.automation.api.audit with parameters of type EnvironmentModifierConstructorDescriptionObjectItemToExpire(Environment env, long objectItemId, Timestamp olderThan) -
Uses of Environment in com.codebarrel.automation.api.devops.event
Methods in com.codebarrel.automation.api.devops.event with parameters of type EnvironmentModifier and TypeMethodDescriptionvoidDevopsAnalytics.emitDevopsEventReceived(Environment environment, String eventType, String eventProviderId) -
Uses of Environment in com.codebarrel.automation.api.email
Methods in com.codebarrel.automation.api.email with parameters of type EnvironmentModifier and TypeMethodDescriptionEmailSender.sendEmail(Environment env, Email email) Sends an e-mail to the set of to addresses with the subject and body provided. -
Uses of Environment in com.codebarrel.automation.api.eventbus
Methods in com.codebarrel.automation.api.eventbus with parameters of type EnvironmentModifier and TypeMethodDescriptionvoidAutomationEventBus.publishEvent(Environment environment, AutomationEventBusEvent... events) Publishes an event to the automation event bus. -
Uses of Environment in com.codebarrel.automation.api.queue
Methods in com.codebarrel.automation.api.queue with parameters of type EnvironmentModifier and TypeMethodDescriptionlongAutomationQueue.addItem(Environment env, QueueItemBean item) Adds a single item to the queue.longAutomationQueueImpl.addItem(Environment env, QueueItemBean item) longAutomationQueueStore.addItem(Environment env, QueueItemBean item) voidAutomationQueue.addItems(Environment environment, List<QueueItemBean> items) Adds multiple queue items in bulk to the queue.voidAutomationQueueImpl.addItems(Environment environment, List<QueueItemBean> items) AutomationQueueStore.addItems(Environment environment, List<QueueItemBean> items) AutomationQueue.claimItem(Environment env, String claimant, ClaimLimits limits) Claims a single item for execution from the queue up the the limits specified.AutomationQueueImpl.claimItem(Environment env, String claimant, ClaimLimits limits) AutomationQueueStore.claimItem(Environment env, String claimant, ClaimLimits claimLimits) AutomationQueue.claimItems(Environment env, String claimant, ClaimLimits limits) Claims multiple items for execution from the queue up the the limits specified.AutomationQueueImpl.claimItems(Environment env, String claimant, ClaimLimits limits) AutomationQueueStore.claimItems(Environment env, String claimant, ClaimLimits limits) AutomationQueue.claimItemsById(Environment env, String claimant, ClaimLimits limits) Same asAutomationQueue.claimItems(Environment, String, ClaimLimits)but will only retrieve and return ids which is faster when clamining many items.AutomationQueueImpl.claimItemsById(Environment env, String claimant, ClaimLimits limits) AutomationQueueStore.claimItemsById(Environment env, String claimant, ClaimLimits limits) voidAutomationQueue.clearUnresolved(Environment env, Date olderThan) Removes any items from the queue that were claimed older than a certain date.voidAutomationQueueImpl.clearUnresolved(Environment env, Date olderThan) longAutomationQueueStore.clearUnresolved(Environment env, Date olderThan) AutomationQueueLimits.get(Environment environment) Returns limits for claiming queue itemslongAutomationQueue.getCount(Environment env) longAutomationQueueImpl.getCount(Environment env) longAutomationQueueStore.getCount(Environment env) AutomationQueue.getItem(Environment env, long itemId) Retrieve an item by its id.AutomationQueueImpl.getItem(Environment env, long itemId) AutomationQueueStore.getItem(Environment env, long itemId) AutomationQueue.getItemAndMarkForProcessing(Environment env, long itemId) This will mark the item for processing and only return it if it wasn't already processing.AutomationQueueImpl.getItemAndMarkForProcessing(Environment env, long itemId) AutomationQueueStore.getItemAndMarkForProcessing(Environment env, long itemId) longAutomationQueueStore.getQueuedCountForAuditItem(Environment environment, long auditItemId) AutomationQueue.getStatistics(Environment env) Return current queue statsAutomationQueueImpl.getStatistics(Environment env) AutomationQueueStore.getStatistics(Environment env) voidAutomationQueueEventListener.handleAddItem(Environment env, QueueItemBean itemAdded) voidRuleStatsAutomationQueueEventListener.handleAddItem(Environment env, QueueItemBean itemAdded) voidAutomationQueueEventListener.handleAddItems(Environment env, List<QueueItemBean> items) voidRuleStatsAutomationQueueEventListener.handleAddItems(Environment env, List<QueueItemBean> items) booleanAutomationQueue.hasMoreItemsQueued(Environment env, long auditItemId) Check if a particular audit item has more items queue up for execution.booleanAutomationQueueImpl.hasMoreItemsQueued(Environment environment, long auditItemId) voidAutomationQueueEventPublisher.publishAddItemEvent(Environment env, QueueItemBean item) voidAutomationQueueEventPublisherImpl.publishAddItemEvent(Environment env, QueueItemBean item) voidAutomationQueueEventPublisher.publishAddItemsEvent(Environment environment, List<QueueItemBean> items) voidAutomationQueueEventPublisherImpl.publishAddItemsEvent(Environment env, List<QueueItemBean> items) -
Uses of Environment in com.codebarrel.automation.api.schedule
Methods in com.codebarrel.automation.api.schedule with parameters of type EnvironmentModifier and TypeMethodDescriptionRuleScheduleProcessor.processSchedules(Environment env, Instant now, List<RuleSchedule> schedulesToExecute) -
Uses of Environment in com.codebarrel.automation.api.service
Methods in com.codebarrel.automation.api.service with parameters of type EnvironmentModifier and TypeMethodDescriptionvoidPollingRuleService.addPollingRulesToQueue(Environment env) Finds and runs all overdue schedules.voidPollServiceImpl.addPollingRulesToQueue(Environment env) voidRuleScheduleService.executeAllOverdueSchedules(Environment env) Finds and runs all overdue schedules.voidRuleScheduleServiceImpl.executeAllOverdueSchedules(Environment env) voidRuleInsightService.expireOldInsights(Environment environment) Expires data to avoid large tablesvoidRuleInsightServiceImpl.expireOldInsights(Environment environment) intAuditService.getAuditLogRetentionPeriodDays(Environment env) intAuditServiceImpl.getAuditLogRetentionPeriodDays(Environment env) WebhookTokenService.getContext(Environment env, String token) Tries to lookup the token provided.AuditService.getObjectItemIdsToDelete(Environment env, long minAuditEntrysToKeep, Timestamp olderThan) Retrieves object item ids with audit items marked for deletion.AuditServiceImpl.getObjectItemIdsToDelete(Environment env, long minAuditEntrysToKeep, Timestamp olderThan) AutomationNotificationService.getWebSocketUrl(Environment env) Returns a websocket url that clients can use to subscribe to a topic.voidRuleInsightService.populateInsights(Environment environment, RollupType type) Populates insights rollup data from the last successful run until nowvoidRuleInsightServiceImpl.populateInsights(Environment environment, RollupType type) longAuditService.removeAuditItemsFor(Environment env, Long objectItemId, Timestamp olderThan) Removes all audit items for the given object item older than the timestamp provided.longAuditServiceImpl.removeAuditItemsFor(Environment env, Long objectItemId, Timestamp olderThan) -
Uses of Environment in com.codebarrel.automation.api.service.auditevent
Methods in com.codebarrel.automation.api.service.auditevent with parameters of type EnvironmentModifier and TypeMethodDescriptionvoidAuditEventService.cleanupStuckAuditlogs(Environment environment, long maxStuckAuditlogs) Looks for auditlog entries stuck in "IN_PROGRESS" and cleans them up.voidAuditEventServiceImpl.cleanupStuckAuditlogs(Environment environment, long maxStuckAuditlogs) -
Uses of Environment in com.codebarrel.automation.api.service.statistics
Methods in com.codebarrel.automation.api.service.statistics with parameters of type EnvironmentModifier and TypeMethodDescriptionvoidRuleStatisticsService.expireOldEntries(Environment env) Called regularly to keep this table small.voidRuleStatisticsServiceImpl.expireOldEntries(Environment env) longRuleStatisticsService.getActiveTenantCount(Environment env, Instant sinceTimeAgo) Returns count of tenants that executed a rule in the time period provided.longRuleStatisticsServiceImpl.getActiveTenantCount(Environment env, Instant sinceTimeAgo) RuleStatisticsService.getRuleStatistics(Environment environment, Instant sinceTimeAgo) Returns stats about rule executions since the time provided.RuleStatisticsServiceImpl.getRuleStatistics(Environment environment, Instant sinceTimeAgo) -
Uses of Environment in com.codebarrel.automation.api.store
Methods in com.codebarrel.automation.api.store with parameters of type EnvironmentModifier and TypeMethodDescriptionvoidAuditItemStore.cleanupStuckAuditItems(Environment env) Sometimes it can happen that audit items are stuck IN_PROGRESS (perhaps the server was shut down during rule execution), or there was a lambda outage or unexpected exceptions during rule execution etc.longNotificationStore.countSentNotificationsGlobally(Environment environment, NotificationStore.Type type) longRuleStatisticsStore.getActiveTenantCount(Environment env, Instant sinceTimeAgo) EmailStatsStore.getEmailBounces(Environment env, Set<String> email) org.apache.commons.lang3.tuple.Pair<List<RuleInsightDetails>, Long> RuleInsightStore.getInsightCategoryDetailsEarlierThan(Environment environment, RollupType type, State category, Instant earlierThan, Instant startTime) Returns the list of insight details for the given category, and earlier than the given time instantRuleInsightStore.getMostRecentInsightTime(Environment environment, RollupType type) Returns the time instant of the last populated insightAuditItemStore.getObjectItemIdsToDelete(Environment env, long minAuditEntrysToKeep, Timestamp olderThan) Returns all object item ids that have audit logs that: where the total number of audit logs per object item id is greater than minAuditEntrysToKeep There's entries older than the specified olderThan timestampRuleInsightStore.getRuleExecutionState(Environment environment, Long ruleId, Instant created, Long auditId) Returns the state of the first statistic searched by rule ID and creation timeRuleStatisticsStore.getRuleStatistics(Environment environment, Instant sinceTimeAgo) AutomationConfigStore.getRulesWithTagGlobally(Environment environment, Tag tag, com.codebarrel.automation.api.config.RuleState state) Returns all automation rules tagged with the provided tag irrelevant of tenant contextRuleScheduleStore.getScheduledRulesAndAdvanceSchedule(Environment env, Instant now) Retrieves all rule schedules where their next execution time is before the passed in 'now' date.AuditlogStore.getStuckAuditlogs(Environment environment, long limit) RuleStatisticsStore.getTenantRuleStatistics(Environment env, Instant createdOffsetTime) voidFeedbackStore.obfuscateOldContacts(Environment env, Instant olderThan) Removes any identifying information from tenant contacts (e.g.voidRuleInsightStore.populateInsights(Environment environment, RollupType type, Instant startInclusive, Instant endExclusive) Populates insights rollup data from the given start instant (inclusive) to the end (exclusive)voidEmailStatsStore.recordEmailBounce(Environment env, String email, String reason) longAuditItemStore.removeAuditItemsFor(Environment env, Long objectItemId, Timestamp olderThan) Delete all audit items for the given object item id older than the timestvoidRuleInsightStore.removeInsightsOlderThan(Environment environment, RollupType type, Instant olderThan) Removes insight rollup data for the given type and instantvoidRuleStatisticsStore.removeStatisticsOlderThan(Environment env, Instant olderThan) voidRuleInsightStore.updateInsight(Environment environment, RollupType type, Long insightId, State state, Long auditId) Update the state of the given insight by its ID -
Uses of Environment in com.codebarrel.automation.rulecomponent.jira.action.clone
Constructors in com.codebarrel.automation.rulecomponent.jira.action.clone with parameters of type EnvironmentModifierConstructorDescriptionIssueRequestPopulator(Map<String, MetaDataField> metaDataFields, Environment env, UserFieldMapper userFieldMapper) -
Uses of Environment in com.codebarrel.automation.rulecomponent.jira.action.msteams.client
Methods in com.codebarrel.automation.rulecomponent.jira.action.msteams.client with parameters of type EnvironmentModifier and TypeMethodDescriptionMicrosoftTeamsClient.sendMessage(Environment environment, String webhookUrl, MicrosoftTeamsMessage message) MicrosoftTeamsClientImpl.sendMessage(Environment environment, String webhookUrl, MicrosoftTeamsMessage message) -
Uses of Environment in com.codebarrel.automation.rulecomponent.jira.action.slack.client
Methods in com.codebarrel.automation.rulecomponent.jira.action.slack.client with parameters of type EnvironmentModifier and TypeMethodDescriptionSlackClient.sendMessage(Environment environment, String webhookUrl, String message, String channelOrUser, boolean automationSender) Sends a message using Slack's with the parameters provided.SlackClientImpl.sendMessage(Environment environment, String webhookUrl, String message, String channelOrUser, boolean automationSender) -
Uses of Environment in com.codebarrel.automation.rulecomponent.jira.action.twilio.client
Methods in com.codebarrel.automation.rulecomponent.jira.action.twilio.client with parameters of type EnvironmentModifier and TypeMethodDescriptionbooleanTwilioClient.checkCredentials(Environment environment, String accountSid, String authToken) Validates that the given credentials provide Twilio API access.booleanTwilioClientImpl.checkCredentials(Environment environment, String accountSid, String authToken) TwilioClient.sendMessage(Environment environment, String accountSid, String authToken, String fromNumber, String toNumber, String body) Sends a SMS message using Twilio's API using the parameters provided.TwilioClientImpl.sendMessage(Environment environment, String accountSid, String authToken, String fromNumber, String toNumber, String body) -
Uses of Environment in com.codebarrel.automation.rulecomponent.jira.common.issueconfigfields.util
Methods in com.codebarrel.automation.rulecomponent.jira.common.issueconfigfields.util with parameters of type EnvironmentModifier and TypeMethodDescriptionUserFieldMapper.getFieldAttribute(Environment env) voidUserFieldMapper.setValueForClone(IssueRequestBuilder builder, Environment env, String fieldId, UserBean valueToSave) voidUserFieldMapper.setValueForClone(IssueRequestBuilder builder, Environment env, String fieldId, List<SmartUserBean> valuesToSave) -
Uses of Environment in com.codebarrel.data.api
Methods in com.codebarrel.data.api with parameters of type EnvironmentModifier and TypeMethodDescription<T> TDbConnectionManager.execute(Environment environment, DatabaseInstance instance, QueryCallback<T> callback) Executes the provided callback, by supplying it with a datastore connection.<T> TDbConnectionManager.execute(Environment environment, QueryCallback<T> callback) Deprecated.<T> TDbConnectionManager.executeReadOnly(Environment environment, DatabaseInstance instance, QueryCallback<T> callback) Executes the provided callback, by supplying it with a datastore connection to a READ ONLY database.<T> TDbConnectionManager.executeWithRetry(Environment environment, QueryCallback<T> callback) Same asDbConnectionManager.execute(Environment, QueryCallback), but will retry execution after rollback() with a delay several times if aQueryExceptionis received. -
Uses of Environment in com.codebarrel.data.api.jira
Methods in com.codebarrel.data.api.jira with parameters of type EnvironmentModifier and TypeMethodDescription<T> TJiraDbConnectionManager.execute(Environment environment, DatabaseInstance instance, QueryCallback<T> callback) <T> TJiraDbConnectionManager.execute(Environment environment, QueryCallback<T> callback) <T> TJiraDbConnectionManager.executeReadOnly(Environment environment, DatabaseInstance instance, QueryCallback<T> callback) <T> TJiraDbConnectionManager.executeWithRetry(Environment environment, QueryCallback<T> callback) -
Uses of Environment in com.codebarrel.jira.plugin.automation.email
Methods in com.codebarrel.jira.plugin.automation.email with parameters of type EnvironmentModifier and TypeMethodDescriptionJiraEmailSender.sendEmail(Environment environment, Email emailToSend) -
Uses of Environment in com.codebarrel.jira.plugin.automation.eventbus
Methods in com.codebarrel.jira.plugin.automation.eventbus with parameters of type EnvironmentModifier and TypeMethodDescriptionvoidJiraAutomationEventBus.publishEvent(Environment environment, AutomationEventBusEvent... automationEventBusEvents) -
Uses of Environment in com.codebarrel.jira.plugin.automation.properties
Methods in com.codebarrel.jira.plugin.automation.properties with parameters of type EnvironmentModifier and TypeMethodDescriptionlongJiraAddonProperties.getLongProperty(Environment env, String key, long defaultValue) JiraAddonProperties.getProperty(Environment environment, String key) -
Uses of Environment in com.codebarrel.jira.plugin.automation.queue
Methods in com.codebarrel.jira.plugin.automation.queue with parameters of type EnvironmentModifier and TypeMethodDescriptionlongJiraAutomationQueueStore.addItem(Environment env, QueueItemBean queueItem) JiraAutomationQueueStore.addItems(Environment environment, List<QueueItemBean> items) JiraAutomationQueueStore.claimItem(Environment env, String claimant, ClaimLimits claimLimits) JiraAutomationQueueStore.claimItems(Environment env, String claimant, ClaimLimits claimLimits) JiraAutomationQueueStore.claimItemsById(Environment environment, String s, ClaimLimits claimLimits) longJiraAutomationQueueStore.clearUnresolved(Environment env, Date date) JiraAutomationQueueLimits.get(Environment environment) longJiraAutomationQueueStore.getCount(Environment env) JiraAutomationQueueStore.getItem(Environment env, long id) JiraAutomationQueueStore.getItemAndMarkForProcessing(Environment environment, long l) longJiraAutomationQueueStore.getQueuedCountForAuditItem(Environment env, long auditItemId) JiraAutomationQueueStore.getStatistics(Environment environment) voidJiraImmediateClaimingQueueListener.handleAddItem(Environment environment, QueueItemBean queueItemBean) voidJiraImmediateClaimingQueueListener.handleAddItems(Environment environment, List<QueueItemBean> list) -
Uses of Environment in com.codebarrel.jira.plugin.automation.service
Methods in com.codebarrel.jira.plugin.automation.service with parameters of type EnvironmentModifier and TypeMethodDescriptionJiraTenantContextFactory.create(Environment environment, TenantId tenantId) JiraTenantContextFactory.createWithClientKey(Environment environment, String clientKey) JiraTenantContextFactory.createWithCloudId(Environment environment, String cloudId) JiraWebhookTokenService.getContext(Environment environment, String token) NoopAutomationNotificationService.getWebSocketUrl(Environment environment) JiraTenantService.save(Environment environment, TenantInfo tenantInfo) -
Uses of Environment in com.codebarrel.jira.plugin.automation.service.auditexpiry
Methods in com.codebarrel.jira.plugin.automation.service.auditexpiry with parameters of type EnvironmentModifier and TypeMethodDescriptionvoidAuditLogExpiryService.scheduleAuditLogExpiry(Environment env, TenantProperties tenantProperties) Schedules (or stops audit log expiry based on settings passed in tenant properties.voidAuditLogExpiryServiceImpl.scheduleAuditLogExpiry(Environment env, TenantProperties properties) -
Uses of Environment in com.codebarrel.jira.plugin.automation.store
Methods in com.codebarrel.jira.plugin.automation.store with parameters of type EnvironmentModifier and TypeMethodDescriptionvoidJiraAuditItemStore.cleanupStuckAuditItems(Environment env) longJiraNotificationStore.countSentNotificationsGlobally(Environment environment, NotificationStore.Type type) longJiraRuleStatisticsStore.getActiveTenantCount(Environment environment, Instant instant) org.apache.commons.lang3.tuple.Pair<List<RuleInsightDetails>, Long> JiraRuleInsightStore.getInsightCategoryDetailsEarlierThan(Environment environment, RollupType type, State category, Instant earlierThan, Instant startTime) JiraRuleInsightStore.getMostRecentInsightTime(Environment environment, RollupType type) JiraAuditItemStore.getObjectItemIdsToDelete(Environment env, long minAuditEntrysToKeep, Timestamp olderThan) JiraRuleInsightStore.getRuleExecutionState(Environment environment, Long ruleId, Instant created, Long auditId) JiraRuleStatisticsStore.getRuleStatistics(Environment environment, Instant instant) CachingAutomationConfigStore.getRulesWithTagGlobally(Environment environment, Tag tag, com.codebarrel.automation.api.config.RuleState state) JiraAutomationConfigStore.getRulesWithTagGlobally(Environment environment, Tag tag, com.codebarrel.automation.api.config.RuleState state) JiraRuleScheduleStore.getScheduledRulesAndAdvanceSchedule(Environment env, Instant now) JiraAuditItemStatsStore.getStats(Environment env, Instant sinceTimeAgo) JiraAuditlogStore.getStuckAuditlogs(Environment environment, long limit) JiraRuleStatisticsStore.getTenantRuleStatistics(Environment environment, Instant instant) voidJiraFeedbackStore.obfuscateOldContacts(Environment environment, Instant instant) voidJiraRuleInsightStore.populateInsights(Environment environment, RollupType type, Instant startInclusive, Instant endExclusive) longJiraAuditItemStore.removeAuditItemsFor(Environment env, Long objectItemId, Timestamp olderThan) voidJiraRuleInsightStore.removeInsightsOlderThan(Environment environment, RollupType type, Instant olderThan) voidJiraRuleStatisticsStore.removeStatisticsOlderThan(Environment env, Instant olderThan) voidJiraRuleInsightStore.updateInsight(Environment environment, RollupType type, Long insightId, State state, Long auditId) -
Uses of Environment in com.codebarrel.tenant.api
Methods in com.codebarrel.tenant.api that return EnvironmentMethods in com.codebarrel.tenant.api with parameters of type EnvironmentModifier and TypeMethodDescriptionstatic TenantContextTenantContext.create(Environment environment, TenantId tenantId, String clientKey) static TenantContextTenantContext.createClientKeyOnlyContext(Environment environment, String clientKey) static CloudIdContextCloudIdContext.from(String cloudId, Environment environment) static TenantContextTenantContext.global(Environment environment) static TenantContextTenantContext.system(Environment environment) -
Uses of Environment in com.codebarrel.tenant.api.factory
Methods in com.codebarrel.tenant.api.factory with parameters of type EnvironmentModifier and TypeMethodDescriptionTenantContextFactory.create(Environment env, TenantId tenantId) TenantContextFactory.createWithClientKey(Environment env, String clientKey) TenantContextFactory.createWithCloudId(Environment env, String cloudId) -
Uses of Environment in com.codebarrel.tenant.api.http
Methods in com.codebarrel.tenant.api.http with parameters of type EnvironmentModifier and TypeMethodDescriptionHttpClientFactory.create(Environment env) Creates a HttpClient for dealing with the execution of requestsHttpClientFactory.create(Environment env, HttpRequestLogger requestLogger) Creates a HttpClient with a custom request logger.HttpClientFactoryImpl.create(Environment env) HttpClientFactoryImpl.create(Environment env, HttpRequestLogger requestLogger) voidHttpRequestLogger.logRequest(Environment env, HttpMethod method, URI uri, int statusCode, long durationMs) Constructors in com.codebarrel.tenant.api.http with parameters of type EnvironmentModifierConstructorDescriptionHttpClientImpl(Environment environment, AddonProperties addonProperties, ApacheHttpClientFactory clientFactory) HttpClientImpl(Environment environment, AddonProperties addonProperties, ApacheHttpClientFactory clientFactory, HttpRequestLogger httpRequestLogger) -
Uses of Environment in com.codebarrel.tenant.api.model
Methods in com.codebarrel.tenant.api.model that return EnvironmentConstructors in com.codebarrel.tenant.api.model with parameters of type EnvironmentModifierConstructorDescriptionTenantEnabledPayload(String clientKey, Environment environment, TenantInfo activeTenant) -
Uses of Environment in com.codebarrel.tenant.api.service
Methods in com.codebarrel.tenant.api.service with parameters of type EnvironmentModifier and TypeMethodDescriptionTenantIdService.getActiveTenantIdForClientKey(Environment environment, String clientKey) TenantIdService.getActiveTenantIdForCloudId(Environment environment, String cloudId) TenantIdService.getClientKeyForTenantId(Environment env, TenantId tenantId) Deprecated.Do not use.voidTenantIdService.invalidateCache(Environment environment, TenantInfo tenantInfo) TenantService.save(Environment environment, TenantInfo tenantInfo) Stores new TenantInfo (overwriting existing data). -
Uses of Environment in com.codebarrel.tenant.api.store
Methods in com.codebarrel.tenant.api.store with parameters of type EnvironmentModifier and TypeMethodDescriptionvoidTenantStatusStore.clearClaimedUpgrades(Environment env) This method clears any upgrades that got stuck.TenantStore.getActiveTenantIdForClientKey(Environment environment, String clientKey) Provides fast lookup to find the active tenant uuid given a client key.TenantStore.getActiveTenantIdForCloudId(Environment environment, String cloudId) Provides fast lookup to find the active tenant uuid given a cloud id.TenantStore.getClientKeyForTenantId(Environment environment, TenantId tenantId) Provides fast lookup to find the client key for the given tenant uuid.TenantStore.getClientKeys(Environment env) Retrieves all known tenant keys.TenantStore.getRawTenantInfo(Environment environment, String clientKey) longTenantStore.getTenantCount(Environment environment) Returns the unique tenants in our db.TenantStore.save(Environment environment, TenantInfo tenantInfo) Stores new TenantInfo (overwriting existing data).
DbConnectionManager.execute(Environment, DatabaseInstance, QueryCallback)instead.