Class ImmutableApplication
java.lang.Object
com.atlassian.crowd.model.application.ImmutableApplication
- All Implemented Interfaces:
Attributes,Application,Serializable
Immutable Application
- Since:
- 2.2
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionImmutableApplication(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. -
Method Summary
Modifier and TypeMethodDescriptionstatic ImmutableApplication.Builderbuilder(Application application) Constructs a new builder for anImmutableApplicationwith the fields initialised toapplication.static ImmutableApplication.Builderbuilder(String name, ApplicationType type) Constructs a new builder for anImmutableApplication.booleanstatic ImmutableApplicationfrom(Application application) getApplicationDirectoryMapping(long directoryId) getDirectoryMapping(long directoryId) getId()getKeys()getName()getType()inthashCode()booleanhasRemoteAddress(String remoteAddress) booleanisActive()booleanbooleanbooleanbooleanbooleanisEmpty()booleanbooleanbooleanbooleanbooleantoString()
-
Constructor Details
-
ImmutableApplication
@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) Deprecated.UseImmutableApplication.Builderinstead.
-
-
Method Details
-
getId
- Specified by:
getIdin interfaceApplication
-
getName
- Specified by:
getNamein interfaceApplication
-
getType
- Specified by:
getTypein interfaceApplication
-
getDescription
- Specified by:
getDescriptionin interfaceApplication
-
getCredential
- Specified by:
getCredentialin interfaceApplication
-
isPermanent
public boolean isPermanent()- Specified by:
isPermanentin interfaceApplication
-
isActive
public boolean isActive()- Specified by:
isActivein interfaceApplication
-
getAttributes
- Specified by:
getAttributesin interfaceApplication
-
getDirectoryMappings
- Specified by:
getDirectoryMappingsin interfaceApplication
-
getApplicationDirectoryMappings
- Specified by:
getApplicationDirectoryMappingsin interfaceApplication
-
getDirectoryMapping
- Specified by:
getDirectoryMappingin interfaceApplication
-
getApplicationDirectoryMapping
- Specified by:
getApplicationDirectoryMappingin interfaceApplication
-
getRemoteAddresses
- Specified by:
getRemoteAddressesin interfaceApplication
-
hasRemoteAddress
- Specified by:
hasRemoteAddressin interfaceApplication
-
getWebhooks
- Specified by:
getWebhooksin interfaceApplication
-
isLowerCaseOutput
public boolean isLowerCaseOutput()- Specified by:
isLowerCaseOutputin interfaceApplication
-
isAliasingEnabled
public boolean isAliasingEnabled()- Specified by:
isAliasingEnabledin interfaceApplication
-
isFilteringUsersWithAccessEnabled
public boolean isFilteringUsersWithAccessEnabled()- Specified by:
isFilteringUsersWithAccessEnabledin interfaceApplication
-
isFilteringGroupsWithAccessEnabled
public boolean isFilteringGroupsWithAccessEnabled()- Specified by:
isFilteringGroupsWithAccessEnabledin interfaceApplication
-
isMembershipAggregationEnabled
public boolean isMembershipAggregationEnabled()- Specified by:
isMembershipAggregationEnabledin interfaceApplication
-
isCachedDirectoriesAuthenticationOrderOptimisationEnabled
public boolean isCachedDirectoriesAuthenticationOrderOptimisationEnabled()- Specified by:
isCachedDirectoriesAuthenticationOrderOptimisationEnabledin interfaceApplication
-
isAuthenticationWithoutPasswordEnabled
public boolean isAuthenticationWithoutPasswordEnabled()- Specified by:
isAuthenticationWithoutPasswordEnabledin interfaceApplication
-
isAuthenticationViaEmailEnabled
public boolean isAuthenticationViaEmailEnabled()- Specified by:
isAuthenticationViaEmailEnabledin interfaceApplication
-
getCreatedDate
- Specified by:
getCreatedDatein interfaceApplication
-
getUpdatedDate
- Specified by:
getUpdatedDatein interfaceApplication
-
getValues
- Specified by:
getValuesin interfaceAttributes
-
getValue
- Specified by:
getValuein interfaceAttributes
-
getKeys
- Specified by:
getKeysin interfaceAttributes
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfaceAttributes
-
builder
Constructs a new builder for anImmutableApplication.- Parameters:
name- name of the applicationtype- type of the application- Returns:
- builder with the name and type initialised
-
builder
Constructs a new builder for anImmutableApplicationwith the fields initialised toapplication.- Parameters:
application- application to duplicate- Returns:
- builder with the fields initialised to
application
-
from
- Returns:
- an
ImmutableApplicationwith the same properties as the given application. Will avoid creating a copy if possible.
-
equals
-
hashCode
public int hashCode() -
toString
-
ImmutableApplication.Builderinstead.