@NotThreadSafe public static final class ImmutableGlobalConfiguration.Builder extends Object
ImmutableGlobalConfiguration.
Initialize attributes and then invoke the build() method to create an
immutable instance.
Builder is not thread-safe and generally should not be stored in a field or collection,
but instead used immediately to create instances.
@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder from(GlobalConfiguration instance)
GlobalConfiguration instance.
Regular attribute values will be replaced with those from the given instance.
Absent optional values will not replace present values.
Collection elements and entries will be added, not replaced.instance - The instance from which to copy valuesthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setNumberGroupingSeparator(String numberGroupingSeparator)
numberGroupingSeparator attribute.
If not set, this attribute will have a default value as returned by the initializer of numberGroupingSeparator.
numberGroupingSeparator - The value for numberGroupingSeparatorthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setNumberDecimalSeparator(String numberDecimalSeparator)
numberDecimalSeparator attribute.
If not set, this attribute will have a default value as returned by the initializer of numberDecimalSeparator.
numberDecimalSeparator - The value for numberDecimalSeparatorthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setDatePickerFormat(String datePickerFormat)
datePickerFormat attribute.datePickerFormat - The value for datePickerFormatthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setDateTimePickerFormat(String dateTimePickerFormat)
dateTimePickerFormat attribute.dateTimePickerFormat - The value for dateTimePickerFormatthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setInsightVersion(String insightVersion)
insightVersion attribute.insightVersion - The value for insightVersionthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setLastSeenVersion(@Nullable String lastSeenVersion)
lastSeenVersion attribute.lastSeenVersion - The value for lastSeenVersion (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setUseISO8601(Boolean useISO8601)
useISO8601 attribute.useISO8601 - The value for useISO8601this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setUserKey(String userKey)
userKey attribute.userKey - The value for userKeythis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setAttachmentsConfig(AttachmentsConfiguration attachmentsConfig)
attachmentsConfig attribute.attachmentsConfig - The value for attachmentsConfigthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setInsightDeveloper(@Nullable Boolean insightDeveloper)
insightDeveloper attribute.insightDeveloper - The value for insightDeveloper (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setInsightDeveloperForObjectType(@Nullable Boolean insightDeveloperForObjectType)
insightDeveloperForObjectType attribute.insightDeveloperForObjectType - The value for insightDeveloperForObjectType (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setInsightManager(@Nullable Boolean insightManager)
insightManager attribute.insightManager - The value for insightManager (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setInsightManagerForObjectType(@Nullable Boolean insightManagerForObjectType)
insightManagerForObjectType attribute.insightManagerForObjectType - The value for insightManagerForObjectType (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setInsightAdministrator(boolean insightAdministrator)
insightAdministrator attribute.insightAdministrator - The value for insightAdministratorthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setServiceDeskEnabled(boolean serviceDeskEnabled)
serviceDeskEnabled attribute.
If not set, this attribute will have a default value as returned by the initializer of serviceDeskEnabled.
serviceDeskEnabled - The value for serviceDeskEnabledthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setServiceDeskCustomerEnabled(boolean serviceDeskCustomerEnabled)
serviceDeskCustomerEnabled attribute.
If not set, this attribute will have a default value as returned by the initializer of serviceDeskCustomerEnabled.
serviceDeskCustomerEnabled - The value for serviceDeskCustomerEnabledthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setTempoTimeSheetEnabled(boolean tempoTimeSheetEnabled)
tempoTimeSheetEnabled attribute.
If not set, this attribute will have a default value as returned by the initializer of tempoTimeSheetEnabled.
tempoTimeSheetEnabled - The value for tempoTimeSheetEnabledthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder addIcons(IconBean element)
icons list.element - A icons elementthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder addIcons(IconBean... elements)
icons list.elements - An array of icons elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setIcons(Iterable<? extends IconBean> elements)
icons list.elements - An iterable of icons elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder addAllIcons(Iterable<? extends IconBean> elements)
icons list.elements - An iterable of icons elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder addReferenceTypes(ReferenceTypeBean element)
referenceTypes list.element - A referenceTypes elementthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder addReferenceTypes(ReferenceTypeBean... elements)
referenceTypes list.elements - An array of referenceTypes elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setReferenceTypes(Iterable<? extends ReferenceTypeBean> elements)
referenceTypes list.elements - An iterable of referenceTypes elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder addAllReferenceTypes(Iterable<? extends ReferenceTypeBean> elements)
referenceTypes list.elements - An iterable of referenceTypes elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder addStatusTypes(StatusTypeBean element)
statusTypes list.element - A statusTypes elementthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder addStatusTypes(StatusTypeBean... elements)
statusTypes list.elements - An array of statusTypes elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setStatusTypes(Iterable<? extends StatusTypeBean> elements)
statusTypes list.elements - An iterable of statusTypes elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder addAllStatusTypes(Iterable<? extends StatusTypeBean> elements)
statusTypes list.elements - An iterable of statusTypes elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setObjectSchema(@Nullable ObjectSchemaBean objectSchema)
objectSchema attribute.objectSchema - The value for objectSchema (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setObjectCacheComplete(int objectCacheComplete)
objectCacheComplete attribute.
If not set, this attribute will have a default value as returned by the initializer of objectCacheComplete.
objectCacheComplete - The value for objectCacheCompletethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setAllowedToDoReindex(Boolean allowedToDoReindex)
allowedToDoReindex attribute.
If not set, this attribute will have a default value as returned by the initializer of allowedToDoReindex.
allowedToDoReindex - The value for allowedToDoReindexthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setReindexRunning(Boolean reindexRunning)
reindexRunning attribute.
If not set, this attribute will have a default value as returned by the initializer of reindexRunning.
reindexRunning - The value for reindexRunningthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setReindexRunningOnNode(@Nullable String reindexRunningOnNode)
reindexRunningOnNode attribute.reindexRunningOnNode - The value for reindexRunningOnNode (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder addInProgressProgressCategories(com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory element)
inProgressProgressCategories list.element - A inProgressProgressCategories elementthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder addInProgressProgressCategories(com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory... elements)
inProgressProgressCategories list.elements - An array of inProgressProgressCategories elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setInProgressProgressCategories(Iterable<? extends com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory> elements)
inProgressProgressCategories list.elements - An iterable of inProgressProgressCategories elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder addAllInProgressProgressCategories(Iterable<? extends com.riadalabs.jira.plugins.insight.services.progress.ProgressCategory> elements)
inProgressProgressCategories list.elements - An iterable of inProgressProgressCategories elementsthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setClonePrefix(String clonePrefix)
clonePrefix attribute.clonePrefix - The value for clonePrefixthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setJiraHome(@Nullable String jiraHome)
jiraHome attribute.jiraHome - The value for jiraHome (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setFileSeparator(String fileSeparator)
fileSeparator attribute.fileSeparator - The value for fileSeparatorthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setDateFormat(String dateFormat)
dateFormat attribute.dateFormat - The value for dateFormatthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setDateTimeFormat(String dateTimeFormat)
dateTimeFormat attribute.dateTimeFormat - The value for dateTimeFormatthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setUserTimeZone(TimeZone userTimeZone)
userTimeZone attribute.userTimeZone - The value for userTimeZonethis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setDataCenter(Boolean dataCenter)
dataCenter attribute.
If not set, this attribute will have a default value as returned by the initializer of dataCenter.
dataCenter - The value for dataCenterthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setCurrentNodeId(@Nullable String currentNodeId)
currentNodeId attribute.currentNodeId - The value for currentNodeId (can be null)this builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setMouseTrigger(String mouseTrigger)
mouseTrigger attribute.mouseTrigger - The value for mouseTriggerthis builder for use in a chained invocation@CanIgnoreReturnValue public final ImmutableGlobalConfiguration.Builder setFilterWildcard(String filterWildcard)
filterWildcard attribute.filterWildcard - The value for filterWildcardthis builder for use in a chained invocationpublic ImmutableGlobalConfiguration build()
ImmutableGlobalConfiguration.IllegalStateException - if any required attributes are missingCopyright © 2024 Atlassian. All rights reserved.