Package com.xwiki.azureoauth.user.sync
Class EntraIDUsersSyncJobRequest
java.lang.Object
org.xwiki.job.AbstractRequest
com.xwiki.azureoauth.user.sync.EntraIDUsersSyncJobRequest
- All Implemented Interfaces:
Serializable,org.xwiki.job.Request
@Unstable
public class EntraIDUsersSyncJobRequest
extends org.xwiki.job.AbstractRequest
Represents a request to start a EntraID users sync job.
- Since:
- 2.1
- Version:
- $Id$
- See Also:
-
Field Summary
Fields inherited from interface org.xwiki.job.Request
PROPERTY_CONTEXT, PROPERTY_INTERACTIVE, PROPERTY_REMOTE -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.EntraIDUsersSyncJobRequest(List<String> jobId, boolean disable, boolean remove) Creates a specific request for users sync job. -
Method Summary
Methods inherited from class org.xwiki.job.AbstractRequest
containsProperty, equals, getContext, getId, getProperties, getProperty, getProperty, getPropertyNames, hashCode, isInteractive, isRemote, isStatusLogIsolated, isStatusSerialized, isVerbose, removeProperty, setContext, setId, setId, setId, setInteractive, setProperty, setRemote, setStatusLogIsolated, setStatusSerialized, setVerbose
-
Constructor Details
-
EntraIDUsersSyncJobRequest
public EntraIDUsersSyncJobRequest()Default constructor. -
EntraIDUsersSyncJobRequest
Creates a specific request for users sync job.- Parameters:
jobId- the ID of the request.disable-trueif the sync should also sync disabled users, orfalseotherwiseremove-trueif the sync should also sync removed users, orfalseotherwise
-
-
Method Details
-
shouldDisable
public boolean shouldDisable()- Returns:
trueif disabled users from Entra ID should be synced, orfalseotherwise.
-
shouldRemove
public boolean shouldRemove()- Returns:
trueif removed users from Entra ID should be synced, orfalseotherwise.
-