Class DefaultSyncResultImpl
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.authentication.external.basic.DefaultSyncResultImpl
-
- All Implemented Interfaces:
SyncResult
public class DefaultSyncResultImpl extends Object implements 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
Constructors Constructor Description DefaultSyncResultImpl(@Nullable DefaultSyncedIdentity id, @NotNull SyncResult.Status status)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable DefaultSyncedIdentity
getIdentity()
The synchronized identity@NotNull SyncResult.Status
getStatus()
The status of the sync operationvoid
setStatus(@NotNull SyncResult.Status status)
-
-
-
Constructor Detail
-
DefaultSyncResultImpl
public DefaultSyncResultImpl(@Nullable @Nullable DefaultSyncedIdentity id, @NotNull @NotNull SyncResult.Status status)
-
-
Method Detail
-
getIdentity
@Nullable public @Nullable DefaultSyncedIdentity getIdentity()
Description copied from interface:SyncResult
The synchronized identity- Specified by:
getIdentity
in interfaceSyncResult
- Returns:
- the identity
-
getStatus
@NotNull public @NotNull SyncResult.Status getStatus()
Description copied from interface:SyncResult
The status of the sync operation- Specified by:
getStatus
in interfaceSyncResult
- Returns:
- the status
-
setStatus
public void setStatus(@NotNull @NotNull SyncResult.Status status)
-
-