public interface IdentifierAccessor
TargetAwareIdentifierAccessor
Modifier and Type | Method and Description |
---|---|
Object |
getIdentifier()
Returns the value of the identifier.
|
default Object |
getRequiredIdentifier()
Returns the identifier of the underlying instance.
|
@Nullable Object getIdentifier()
default Object getRequiredIdentifier()
TargetAwareIdentifierAccessor
or override this method to add more context to the exception being thrown in
case of the absence of an identifier.IllegalStateException
- in case no identifier could be retrieved.Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.