Class DefaultSyncResultImpl
java.lang.Object
org.apache.jackrabbit.oak.spi.security.authentication.external.basic.DefaultSyncResultImpl
- All Implemented Interfaces:
SyncResult
Implements a simple sync result with and id and a status.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.jackrabbit.oak.spi.security.authentication.external.SyncResult
SyncResult.Status
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultSyncResultImpl
(@Nullable DefaultSyncedIdentity id, @NotNull SyncResult.Status status) -
Method Summary
Modifier and TypeMethodDescription@Nullable DefaultSyncedIdentity
The synchronized identity@NotNull SyncResult.Status
The status of the sync operationvoid
setStatus
(@NotNull SyncResult.Status status)
-
Constructor Details
-
DefaultSyncResultImpl
public DefaultSyncResultImpl(@Nullable @Nullable DefaultSyncedIdentity id, @NotNull @NotNull SyncResult.Status status)
-
-
Method Details
-
getIdentity
Description copied from interface:SyncResult
The synchronized identity- Specified by:
getIdentity
in interfaceSyncResult
- Returns:
- the identity
-
getStatus
Description copied from interface:SyncResult
The status of the sync operation- Specified by:
getStatus
in interfaceSyncResult
- Returns:
- the status
-
setStatus
-