Class PullJobDelegate
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.job.AbstractSchedTaskJobDelegate<T>
-
- org.apache.syncope.core.provisioning.java.pushpull.AbstractProvisioningJobDelegate<org.apache.syncope.core.persistence.api.entity.task.PullTask>
-
- org.apache.syncope.core.provisioning.java.pushpull.PullJobDelegate
-
- All Implemented Interfaces:
org.apache.syncope.core.provisioning.api.job.JobDelegate
,org.apache.syncope.core.provisioning.api.job.SchedTaskJobDelegate
,org.apache.syncope.core.provisioning.api.pushpull.SyncopePullExecutor
- Direct Known Subclasses:
SinglePullJobDelegate
,StreamPullJobDelegate
public class PullJobDelegate extends AbstractProvisioningJobDelegate<org.apache.syncope.core.persistence.api.entity.task.PullTask> implements org.apache.syncope.core.provisioning.api.pushpull.SyncopePullExecutor
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.syncope.core.persistence.api.entity.AnyUtilsFactory
anyUtilsFactory
protected org.apache.syncope.core.persistence.api.dao.GroupDAO
groupDAO
protected Map<String,org.apache.commons.lang3.tuple.MutablePair<Integer,String>>
handled
protected InboundMatcher
inboundMatcher
protected Map<String,org.identityconnectors.framework.common.objects.SyncToken>
latestSyncTokens
protected Map<String,org.apache.syncope.core.provisioning.api.pushpull.PullActions>
perContextActions
protected Optional<org.apache.syncope.core.provisioning.api.pushpull.ReconFilterBuilder>
perContextReconFilterBuilder
protected org.apache.syncope.core.persistence.api.dao.PlainSchemaDAO
plainSchemaDAO
protected org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<org.apache.syncope.core.persistence.api.entity.task.PullTask,org.apache.syncope.core.provisioning.api.pushpull.PullActions>
profile
protected org.apache.syncope.core.persistence.api.attrvalue.validation.PlainAttrValidationManager
validator
protected org.apache.syncope.core.persistence.api.dao.VirSchemaDAO
virSchemaDAO
-
Fields inherited from class org.apache.syncope.core.provisioning.java.pushpull.AbstractProvisioningJobDelegate
anyTypeDAO, connectorManager, entityFactory, perContextProvisionSorter, policyDAO, resourceDAO
-
Fields inherited from class org.apache.syncope.core.provisioning.java.job.AbstractSchedTaskJobDelegate
auditManager, interrupt, interrupted, LOG, notificationManager, publisher, task, taskDAO, taskDataBinder, taskExecDAO, taskType, taskUtilsFactory
-
-
Constructor Summary
Constructors Constructor Description PullJobDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.syncope.core.provisioning.api.pushpull.AnyObjectPullResultHandler
buildAnyObjectHandler()
protected org.apache.syncope.core.provisioning.api.pushpull.GroupPullResultHandler
buildGroupHandler()
protected org.apache.syncope.core.provisioning.api.pushpull.RealmPullResultHandler
buildRealmHandler()
protected org.apache.syncope.core.provisioning.api.pushpull.UserPullResultHandler
buildUserHandler()
protected String
doExecuteProvisioning(org.apache.syncope.core.persistence.api.entity.task.PullTask pullTask, org.apache.syncope.core.provisioning.api.Connector connector, boolean dryRun, String executor, org.quartz.JobExecutionContext context)
protected List<org.apache.syncope.core.provisioning.api.pushpull.PullActions>
getPullActions(List<? extends org.apache.syncope.core.persistence.api.entity.Implementation> impls)
protected org.apache.syncope.core.provisioning.api.pushpull.ReconFilterBuilder
getReconFilterBuilder(org.apache.syncope.core.persistence.api.entity.task.PullTask pullTask)
void
reportHandled(String objectClass, org.identityconnectors.framework.common.objects.Name name)
protected void
setGroupOwners(org.apache.syncope.core.provisioning.api.pushpull.GroupPullResultHandler ghandler)
void
setInterrupted()
void
setLatestSyncToken(String objectClass, org.identityconnectors.framework.common.objects.SyncToken latestSyncToken)
boolean
wasInterruptRequested()
-
Methods inherited from class org.apache.syncope.core.provisioning.java.pushpull.AbstractProvisioningJobDelegate
createReport, doExecute, generate, getConnector, getProvisionSorter, getTaskClassReference, hasToBeRegistered
-
Methods inherited from class org.apache.syncope.core.provisioning.java.job.AbstractSchedTaskJobDelegate
execute, interrupt, isInterrupted, register, setStatus
-
-
-
-
Field Detail
-
groupDAO
@Autowired protected org.apache.syncope.core.persistence.api.dao.GroupDAO groupDAO
-
plainSchemaDAO
@Autowired protected org.apache.syncope.core.persistence.api.dao.PlainSchemaDAO plainSchemaDAO
-
virSchemaDAO
@Autowired protected org.apache.syncope.core.persistence.api.dao.VirSchemaDAO virSchemaDAO
-
inboundMatcher
@Autowired protected InboundMatcher inboundMatcher
-
anyUtilsFactory
@Autowired protected org.apache.syncope.core.persistence.api.entity.AnyUtilsFactory anyUtilsFactory
-
validator
@Autowired protected org.apache.syncope.core.persistence.api.attrvalue.validation.PlainAttrValidationManager validator
-
latestSyncTokens
protected final Map<String,org.identityconnectors.framework.common.objects.SyncToken> latestSyncTokens
-
profile
protected org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<org.apache.syncope.core.persistence.api.entity.task.PullTask,org.apache.syncope.core.provisioning.api.pushpull.PullActions> profile
-
handled
protected final Map<String,org.apache.commons.lang3.tuple.MutablePair<Integer,String>> handled
-
perContextActions
protected final Map<String,org.apache.syncope.core.provisioning.api.pushpull.PullActions> perContextActions
-
perContextReconFilterBuilder
protected Optional<org.apache.syncope.core.provisioning.api.pushpull.ReconFilterBuilder> perContextReconFilterBuilder
-
-
Method Detail
-
setLatestSyncToken
public void setLatestSyncToken(String objectClass, org.identityconnectors.framework.common.objects.SyncToken latestSyncToken)
- Specified by:
setLatestSyncToken
in interfaceorg.apache.syncope.core.provisioning.api.pushpull.SyncopePullExecutor
-
reportHandled
public void reportHandled(String objectClass, org.identityconnectors.framework.common.objects.Name name)
- Specified by:
reportHandled
in interfaceorg.apache.syncope.core.provisioning.api.pushpull.SyncopePullExecutor
-
wasInterruptRequested
public boolean wasInterruptRequested()
- Specified by:
wasInterruptRequested
in interfaceorg.apache.syncope.core.provisioning.api.pushpull.SyncopePullExecutor
-
setInterrupted
public void setInterrupted()
- Specified by:
setInterrupted
in interfaceorg.apache.syncope.core.provisioning.api.pushpull.SyncopePullExecutor
-
setGroupOwners
protected void setGroupOwners(org.apache.syncope.core.provisioning.api.pushpull.GroupPullResultHandler ghandler)
-
getPullActions
protected List<org.apache.syncope.core.provisioning.api.pushpull.PullActions> getPullActions(List<? extends org.apache.syncope.core.persistence.api.entity.Implementation> impls)
-
getReconFilterBuilder
protected org.apache.syncope.core.provisioning.api.pushpull.ReconFilterBuilder getReconFilterBuilder(org.apache.syncope.core.persistence.api.entity.task.PullTask pullTask) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
buildRealmHandler
protected org.apache.syncope.core.provisioning.api.pushpull.RealmPullResultHandler buildRealmHandler()
-
buildAnyObjectHandler
protected org.apache.syncope.core.provisioning.api.pushpull.AnyObjectPullResultHandler buildAnyObjectHandler()
-
buildUserHandler
protected org.apache.syncope.core.provisioning.api.pushpull.UserPullResultHandler buildUserHandler()
-
buildGroupHandler
protected org.apache.syncope.core.provisioning.api.pushpull.GroupPullResultHandler buildGroupHandler()
-
doExecuteProvisioning
protected String doExecuteProvisioning(org.apache.syncope.core.persistence.api.entity.task.PullTask pullTask, org.apache.syncope.core.provisioning.api.Connector connector, boolean dryRun, String executor, org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
- Specified by:
doExecuteProvisioning
in classAbstractProvisioningJobDelegate<org.apache.syncope.core.persistence.api.entity.task.PullTask>
- Throws:
org.quartz.JobExecutionException
-
-