Class GrouperClientXmppJob
java.lang.Object
edu.internet2.middleware.grouperClientExt.xmpp.GrouperClientXmppJob
bean that holds config data for grouper client xmpp job
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumenum for action when event happens -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionelfilter that decides if the event is worth processsingevent action on each eventprefix to put at the beginning of file (before users)suffix to put at the end of file (after users)how often a full refresh should occur regardless of events, quartz cron like string, e.g. on the 8am each day: 0 0 8 * * ?group names which trigger notificationsclass that handles events on this jobexpression language for each user, e.g.name of jobsubject attribute names for full refreshfile to write for file handler jobsbooleanif we should allow incremental not in group names liststatic GrouperClientXmppJobretrieveJob(String name, boolean exceptionIfNotFound) retrieve a job by namestatic List<GrouperClientXmppJob>retrieve the cached xmpp jobsvoidsetAllowIncrementalNotInGroupNamesList(boolean allowIncrementalNotInGroupNamesList1) if we should allow incremental not in group names listvoidsetElfilter(String elfilter1) elfilter that decides if the event is worth processsingvoidsetEventAction(GrouperClientXmppJob.XmppJobEventAction eventAction1) event action on each eventvoidsetFilePrefix(String filePrefix1) prefix to put at the beginning of file (before users)voidsetFileSuffix(String fileSuffix1) suffix to put at the end of file (after users)voidsetFullRefreshQuartzCronString(String fullRefreshQuartzCronString1) how often a full refresh should occur regardless of events, quartz cron like string, e.g. on the 8am each day: 0 0 8 * * ?voidsetGroupNames(Set<String> groupNames) group names which trigger notificationsvoidsetHandlerClass(String handlerClass1) class that handles events on this jobvoidsetIteratorEl(String iteratorEl1) expression language for each user, e.g.voidsetJobName(String jobName1) name of jobvoidsetSubjectAttributeNames(List<String> subjectAttributeNames1) subject attribute names for full refreshvoidsetTargetFile(String targetFile1) file to write for file handler jobs
-
Constructor Details
-
GrouperClientXmppJob
public GrouperClientXmppJob()
-
-
Method Details
-
isAllowIncrementalNotInGroupNamesList
public boolean isAllowIncrementalNotInGroupNamesList()if we should allow incremental not in group names list- Returns:
- if we should allow incremental not in group names list
-
setAllowIncrementalNotInGroupNamesList
public void setAllowIncrementalNotInGroupNamesList(boolean allowIncrementalNotInGroupNamesList1) if we should allow incremental not in group names list- Parameters:
allowIncrementalNotInGroupNamesList1-
-
getJobName
name of job- Returns:
- the jobName
-
setJobName
name of job- Parameters:
jobName1- the jobName to set
-
getEventAction
event action on each event- Returns:
- the eventAction
-
setEventAction
event action on each event- Parameters:
eventAction1- the eventAction to set
-
retrieveJob
retrieve a job by name- Parameters:
name-exceptionIfNotFound-- Returns:
- the job
-
retrieveXmppJobs
retrieve the cached xmpp jobs- Returns:
- jobs
-
getSubjectAttributeNames
subject attribute names for full refresh- Returns:
- the subjectAttributeNames
-
setSubjectAttributeNames
subject attribute names for full refresh- Parameters:
subjectAttributeNames1- the subjectAttributeNames to set
-
getGroupNames
group names which trigger notifications- Returns:
- group names which trigger notifications
-
setGroupNames
group names which trigger notifications- Parameters:
groupNames-
-
getElfilter
elfilter that decides if the event is worth processsing- Returns:
- elfilter
-
setElfilter
elfilter that decides if the event is worth processsing- Parameters:
elfilter1-
-
getHandlerClass
class that handles events on this job- Returns:
- the handlerClass
-
setHandlerClass
class that handles events on this job- Parameters:
handlerClass1- the handlerClass to set
-
getFullRefreshQuartzCronString
how often a full refresh should occur regardless of events, quartz cron like string, e.g. on the 8am each day: 0 0 8 * * ?- Returns:
- the fullRefreshQuartzCronString
-
setFullRefreshQuartzCronString
how often a full refresh should occur regardless of events, quartz cron like string, e.g. on the 8am each day: 0 0 8 * * ?- Parameters:
fullRefreshQuartzCronString1- the fullRefreshQuartzCronString to set
-
getTargetFile
file to write for file handler jobs- Returns:
- the targetFile
-
setTargetFile
file to write for file handler jobs- Parameters:
targetFile1- the targetFile to set
-
getFilePrefix
prefix to put at the beginning of file (before users)- Returns:
- the filePrefix
-
setFilePrefix
prefix to put at the beginning of file (before users)- Parameters:
filePrefix1- the filePrefix to set
-
getIteratorEl
expression language for each user, e.g. ${subject['pennname']}$space$ note: $newline$ is also ok for new lines.- Returns:
- the iteratorEl
-
setIteratorEl
expression language for each user, e.g. ${subject['pennname']}$space$ note: $newline$ is also ok for new lines.- Parameters:
iteratorEl1- the iteratorEl to set
-
getFileSuffix
suffix to put at the end of file (after users)- Returns:
- the fileSuffix
-
setFileSuffix
suffix to put at the end of file (after users)- Parameters:
fileSuffix1- the fileSuffix to set
-