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 DefaultSyncedIdentityThe synchronized identity@NotNull SyncResult.StatusThe status of the sync operationvoidsetStatus(@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:SyncResultThe synchronized identity- Specified by:
getIdentityin interfaceSyncResult- Returns:
- the identity
-
getStatus
Description copied from interface:SyncResultThe status of the sync operation- Specified by:
getStatusin interfaceSyncResult- Returns:
- the status
-
setStatus
-