Class PullJobDelegate
- java.lang.Object
-
- org.apache.syncope.core.provisioning.java.job.AbstractSchedTaskJobDelegate<T>
-
- org.apache.syncope.core.provisioning.java.pushpull.AbstractProvisioningJobDelegate<PullTask>
-
- org.apache.syncope.core.provisioning.java.pushpull.PullJobDelegate
-
- All Implemented Interfaces:
JobDelegate,SchedTaskJobDelegate,SyncopePullExecutor
- Direct Known Subclasses:
SinglePullJobDelegate,StreamPullJobDelegate
public class PullJobDelegate extends AbstractProvisioningJobDelegate<PullTask> implements SyncopePullExecutor
-
-
Field Summary
Fields Modifier and Type Field Description protected AnyUtilsFactoryanyUtilsFactoryprotected GroupDAOgroupDAOprotected Map<String,MutablePair<Integer,String>>handledprotected InboundMatcherinboundMatcherprotected Map<String,SyncToken>latestSyncTokensprotected Map<String,PullActions>perContextActionsprotected Optional<ReconFilterBuilder>perContextReconFilterBuilderprotected PlainSchemaDAOplainSchemaDAOprotected ProvisioningProfile<PullTask,PullActions>profileprotected PlainAttrValidationManagervalidatorprotected VirSchemaDAOvirSchemaDAO-
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, securityProperties, task, taskDAO, taskDataBinder, taskExecDAO, taskType, taskUtilsFactory
-
Fields inherited from interface org.apache.syncope.core.provisioning.api.job.JobDelegate
OPERATION_ID
-
-
Constructor Summary
Constructors Constructor Description PullJobDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AnyObjectPullResultHandlerbuildAnyObjectHandler()protected GroupPullResultHandlerbuildGroupHandler()protected RealmPullResultHandlerbuildRealmHandler()protected UserPullResultHandlerbuildUserHandler()protected StringdoExecuteProvisioning(PullTask pullTask, Connector connector, boolean dryRun, String executor, org.quartz.JobExecutionContext context)protected List<PullActions>getPullActions(List<? extends Implementation> impls)protected ReconFilterBuildergetReconFilterBuilder(PullTask pullTask)voidreportHandled(String objectClass, Name name)protected voidsetGroupOwners(GroupPullResultHandler ghandler)voidsetInterrupted()voidsetLatestSyncToken(String objectClass, SyncToken latestSyncToken)booleanwasInterruptRequested()-
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 GroupDAO groupDAO
-
plainSchemaDAO
@Autowired protected PlainSchemaDAO plainSchemaDAO
-
virSchemaDAO
@Autowired protected VirSchemaDAO virSchemaDAO
-
inboundMatcher
@Autowired protected InboundMatcher inboundMatcher
-
anyUtilsFactory
@Autowired protected AnyUtilsFactory anyUtilsFactory
-
validator
@Autowired protected PlainAttrValidationManager validator
-
profile
protected ProvisioningProfile<PullTask,PullActions> profile
-
handled
protected final Map<String,MutablePair<Integer,String>> handled
-
perContextActions
protected final Map<String,PullActions> perContextActions
-
perContextReconFilterBuilder
protected Optional<ReconFilterBuilder> perContextReconFilterBuilder
-
-
Method Detail
-
setLatestSyncToken
public void setLatestSyncToken(String objectClass, SyncToken latestSyncToken)
- Specified by:
setLatestSyncTokenin interfaceSyncopePullExecutor
-
reportHandled
public void reportHandled(String objectClass, Name name)
- Specified by:
reportHandledin interfaceSyncopePullExecutor
-
wasInterruptRequested
public boolean wasInterruptRequested()
- Specified by:
wasInterruptRequestedin interfaceSyncopePullExecutor
-
setInterrupted
public void setInterrupted()
- Specified by:
setInterruptedin interfaceSyncopePullExecutor
-
setGroupOwners
protected void setGroupOwners(GroupPullResultHandler ghandler)
-
getPullActions
protected List<PullActions> getPullActions(List<? extends Implementation> impls)
-
getReconFilterBuilder
protected ReconFilterBuilder getReconFilterBuilder(PullTask pullTask) throws ClassNotFoundException
- Throws:
ClassNotFoundException
-
buildRealmHandler
protected RealmPullResultHandler buildRealmHandler()
-
buildAnyObjectHandler
protected AnyObjectPullResultHandler buildAnyObjectHandler()
-
buildUserHandler
protected UserPullResultHandler buildUserHandler()
-
buildGroupHandler
protected GroupPullResultHandler buildGroupHandler()
-
doExecuteProvisioning
protected String doExecuteProvisioning(PullTask pullTask, Connector connector, boolean dryRun, String executor, org.quartz.JobExecutionContext context) throws org.quartz.JobExecutionException
- Specified by:
doExecuteProvisioningin classAbstractProvisioningJobDelegate<PullTask>- Throws:
org.quartz.JobExecutionException
-
-