public final class ImmutableApplication extends Object implements Application
| Modifier and Type | Class and Description |
|---|---|
static class |
ImmutableApplication.Builder |
| Constructor and Description |
|---|
ImmutableApplication(Long id,
String name,
ApplicationType type,
String description,
PasswordCredential passwordCredential,
boolean permanent,
boolean active,
Map<String,String> attributes,
List<DirectoryMapping> directoryMappings,
Set<RemoteAddress> remoteAddresses,
Set<Webhook> webhooks,
boolean lowercaseOutput,
boolean aliasingEnabled,
Date createdDate,
Date updatedDate)
Deprecated.
Use
ImmutableApplication.Builder instead. |
@Deprecated public ImmutableApplication(Long id, String name, ApplicationType type, String description, PasswordCredential passwordCredential, boolean permanent, boolean active, Map<String,String> attributes, List<DirectoryMapping> directoryMappings, Set<RemoteAddress> remoteAddresses, Set<Webhook> webhooks, boolean lowercaseOutput, boolean aliasingEnabled, Date createdDate, Date updatedDate)
ImmutableApplication.Builder instead.public Long getId()
getId in interface Applicationpublic String getName()
getName in interface Applicationpublic ApplicationType getType()
getType in interface Applicationpublic String getDescription()
getDescription in interface Applicationpublic PasswordCredential getCredential()
getCredential in interface Applicationpublic boolean isPermanent()
isPermanent in interface Applicationpublic boolean isActive()
isActive in interface Applicationpublic Map<String,String> getAttributes()
getAttributes in interface Applicationpublic List<DirectoryMapping> getDirectoryMappings()
getDirectoryMappings in interface Application@Nonnull public List<ApplicationDirectoryMapping> getApplicationDirectoryMappings()
getApplicationDirectoryMappings in interface Applicationpublic DirectoryMapping getDirectoryMapping(long directoryId)
getDirectoryMapping in interface Applicationpublic ApplicationDirectoryMapping getApplicationDirectoryMapping(long directoryId)
getApplicationDirectoryMapping in interface Applicationpublic Set<RemoteAddress> getRemoteAddresses()
getRemoteAddresses in interface Applicationpublic boolean hasRemoteAddress(String remoteAddress)
hasRemoteAddress in interface Applicationpublic Set<Webhook> getWebhooks()
getWebhooks in interface Applicationpublic boolean isLowerCaseOutput()
isLowerCaseOutput in interface Applicationpublic boolean isAliasingEnabled()
isAliasingEnabled in interface Applicationpublic boolean isFilteringUsersWithAccessEnabled()
isFilteringUsersWithAccessEnabled in interface Applicationpublic boolean isFilteringGroupsWithAccessEnabled()
isFilteringGroupsWithAccessEnabled in interface Applicationpublic boolean isMembershipAggregationEnabled()
isMembershipAggregationEnabled in interface Applicationpublic boolean isCachedDirectoriesAuthenticationOrderOptimisationEnabled()
isCachedDirectoriesAuthenticationOrderOptimisationEnabled in interface Applicationpublic boolean isAuthenticationWithoutPasswordEnabled()
isAuthenticationWithoutPasswordEnabled in interface Applicationpublic boolean isAuthenticationViaEmailEnabled()
isAuthenticationViaEmailEnabled in interface Applicationpublic Date getCreatedDate()
getCreatedDate in interface Applicationpublic Date getUpdatedDate()
getUpdatedDate in interface Applicationpublic Set<String> getValues(String key)
getValues in interface Attributespublic String getValue(String key)
getValue in interface Attributespublic Set<String> getKeys()
getKeys in interface Attributespublic boolean isEmpty()
isEmpty in interface Attributespublic static ImmutableApplication.Builder builder(String name, ApplicationType type)
name - name of the applicationtype - type of the applicationpublic static ImmutableApplication.Builder builder(Application application)
application.application - application to duplicateapplicationpublic static ImmutableApplication from(Application application)
ImmutableApplication with the same properties as the given application.
Will avoid creating a copy if possible.Copyright © 2023 Atlassian. All rights reserved.