Class PushJobDelegate
- 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.PushTask>
-
- org.apache.syncope.core.provisioning.java.pushpull.PushJobDelegate
-
- 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.SyncopePushExecutor
- Direct Known Subclasses:
SinglePushJobDelegate
,StreamPushJobDelegate
public class PushJobDelegate extends AbstractProvisioningJobDelegate<org.apache.syncope.core.persistence.api.entity.task.PushTask> implements org.apache.syncope.core.provisioning.api.pushpull.SyncopePushExecutor
-
-
Field Summary
Fields Modifier and Type Field Description protected org.apache.syncope.core.persistence.api.entity.AnyUtilsFactory
anyUtilsFactory
protected Map<String,org.apache.commons.lang3.tuple.MutablePair<Integer,String>>
handled
protected Map<String,org.apache.syncope.core.provisioning.api.pushpull.PushActions>
perContextActions
protected org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<org.apache.syncope.core.persistence.api.entity.task.PushTask,org.apache.syncope.core.provisioning.api.pushpull.PushActions>
profile
protected org.apache.syncope.core.persistence.api.dao.RealmDAO
realmDAO
protected org.apache.syncope.core.persistence.api.search.SearchCondVisitor
searchCondVisitor
protected org.apache.syncope.core.persistence.api.dao.AnySearchDAO
searchDAO
-
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
-
-
Constructor Summary
Constructors Constructor Description PushJobDelegate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.syncope.core.provisioning.api.pushpull.AnyObjectPushResultHandler
buildAnyObjectHandler()
protected org.apache.syncope.core.provisioning.api.pushpull.GroupPushResultHandler
buildGroupHandler()
protected org.apache.syncope.core.provisioning.api.pushpull.RealmPushResultHandler
buildRealmHandler()
protected org.apache.syncope.core.provisioning.api.pushpull.UserPushResultHandler
buildUserHandler()
protected String
doExecuteProvisioning(org.apache.syncope.core.persistence.api.entity.task.PushTask pushTask, org.apache.syncope.core.provisioning.api.Connector connector, boolean dryRun, String executor, org.quartz.JobExecutionContext context)
protected boolean
doHandle(List<? extends org.apache.syncope.core.persistence.api.entity.Any<?>> anys, PushResultHandlerDispatcher dispatcher, org.apache.syncope.core.persistence.api.entity.ExternalResource resource)
protected List<org.apache.syncope.core.provisioning.api.pushpull.PushActions>
getPushActions(List<? extends org.apache.syncope.core.persistence.api.entity.Implementation> impls)
void
reportHandled(String anyType, String key)
void
setInterrupted()
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
-
searchDAO
@Autowired protected org.apache.syncope.core.persistence.api.dao.AnySearchDAO searchDAO
-
realmDAO
@Autowired protected org.apache.syncope.core.persistence.api.dao.RealmDAO realmDAO
-
anyUtilsFactory
@Autowired protected org.apache.syncope.core.persistence.api.entity.AnyUtilsFactory anyUtilsFactory
-
searchCondVisitor
@Autowired protected org.apache.syncope.core.persistence.api.search.SearchCondVisitor searchCondVisitor
-
profile
protected org.apache.syncope.core.provisioning.api.pushpull.ProvisioningProfile<org.apache.syncope.core.persistence.api.entity.task.PushTask,org.apache.syncope.core.provisioning.api.pushpull.PushActions> profile
-
handled
protected final Map<String,org.apache.commons.lang3.tuple.MutablePair<Integer,String>> handled
-
-
Method Detail
-
reportHandled
public void reportHandled(String anyType, String key)
- Specified by:
reportHandled
in interfaceorg.apache.syncope.core.provisioning.api.pushpull.SyncopePushExecutor
-
wasInterruptRequested
public boolean wasInterruptRequested()
- Specified by:
wasInterruptRequested
in interfaceorg.apache.syncope.core.provisioning.api.pushpull.SyncopePushExecutor
-
setInterrupted
public void setInterrupted()
- Specified by:
setInterrupted
in interfaceorg.apache.syncope.core.provisioning.api.pushpull.SyncopePushExecutor
-
doHandle
protected boolean doHandle(List<? extends org.apache.syncope.core.persistence.api.entity.Any<?>> anys, PushResultHandlerDispatcher dispatcher, org.apache.syncope.core.persistence.api.entity.ExternalResource resource) throws org.quartz.JobExecutionException
- Throws:
org.quartz.JobExecutionException
-
buildRealmHandler
protected org.apache.syncope.core.provisioning.api.pushpull.RealmPushResultHandler buildRealmHandler()
-
buildAnyObjectHandler
protected org.apache.syncope.core.provisioning.api.pushpull.AnyObjectPushResultHandler buildAnyObjectHandler()
-
buildUserHandler
protected org.apache.syncope.core.provisioning.api.pushpull.UserPushResultHandler buildUserHandler()
-
buildGroupHandler
protected org.apache.syncope.core.provisioning.api.pushpull.GroupPushResultHandler buildGroupHandler()
-
getPushActions
protected List<org.apache.syncope.core.provisioning.api.pushpull.PushActions> getPushActions(List<? extends org.apache.syncope.core.persistence.api.entity.Implementation> impls)
-
doExecuteProvisioning
protected String doExecuteProvisioning(org.apache.syncope.core.persistence.api.entity.task.PushTask pushTask, 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.PushTask>
- Throws:
org.quartz.JobExecutionException
-
-