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. |
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 Applicationpublic DirectoryMapping getDirectoryMapping(long directoryId)
getDirectoryMapping 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 isMembershipAggregationEnabled()
isMembershipAggregationEnabled 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 duplicateapplicationCopyright © 2018 Atlassian. All rights reserved.