@Immutable public static class ModuleDescriptors.EqualsBuilder extends Object
Object.equals(Object)
methods for module
descriptors based on the descriptor's complete key.Constructor and Description |
---|
EqualsBuilder(com.atlassian.plugin.ModuleDescriptor descriptor)
Creates an instance of the
EqualsBuilder for a module descriptor. |
Modifier and Type | Method and Description |
---|---|
boolean |
isEqualsTo(Object obj)
Returns true if the given object is also a module descriptor and the two descriptors have the same
"complete key" as determined by
ModuleDescriptor.getCompleteKey() . |
public EqualsBuilder(com.atlassian.plugin.ModuleDescriptor descriptor)
EqualsBuilder
for a module descriptor.descriptor
- the module descriptor to create an equals
implementation for.public boolean isEqualsTo(Object obj)
Returns true if the given object is also a module descriptor and the two descriptors have the same
"complete key" as determined by ModuleDescriptor.getCompleteKey()
.
obj
- object to be compared for equality with this module descriptor.Copyright © 2002-2023 Atlassian. All Rights Reserved.