Class ProvisioningMessage
java.lang.Object
edu.internet2.middleware.grouper.changeLog.esb.consumer.ProvisioningMessage
message sent in JSON to tell the provisioner to analyze objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ProvisioningMessage
convert from jsonblocking will do a proper sync and block other jobs (e.g.if a full sync should be runfull sync typeString[]
group ids to do group syncs forString[]
member ids to do member syncs formemberships to analyze for synclong
static void
void
void
setBlocking
(Boolean blocking1) blocking will do a proper sync and block other jobs (e.g.void
setFullSync
(Boolean fullSync1) if a full sync should be runvoid
setFullSyncType
(String fullSyncType1) full sync typevoid
setGroupIdsForSync
(String[] groupIdsForSync1) group ids to do group syncs forvoid
setMemberIdsForSync
(String[] memberIdsForSync1) member ids to do member syncs forvoid
setMembershipsForSync
(ProvisioningMembershipMessage[] membershipsForSync1) memberships to analyze for syncvoid
setMillisSince1970
(long millisSince1970) void
setReadOnly
(Boolean readOnly) if the message should trigger a read only sync and then the results will be in logtoJson()
convert to json
-
Constructor Details
-
ProvisioningMessage
public ProvisioningMessage()
-
-
Method Details
-
getMillisSince1970
public long getMillisSince1970() -
setMillisSince1970
public void setMillisSince1970(long millisSince1970) -
main
- Parameters:
args
-
-
getReadOnly
- Returns:
- if the message should trigger a read only sync and then the results will be in log
-
setReadOnly
if the message should trigger a read only sync and then the results will be in log- Parameters:
readOnly
-
-
getBlocking
blocking will do a proper sync and block other jobs (e.g. change log consumer). non blocking will do a compare, and send messaging events about the output- Returns:
- if blocking
-
setBlocking
blocking will do a proper sync and block other jobs (e.g. change log consumer). non blocking will do a compare, and send messaging events about the output- Parameters:
blocking1
-
-
getFullSync
if a full sync should be run- Returns:
- true if should run a full sync
-
setFullSync
if a full sync should be run- Parameters:
fullSync1
-
-
getFullSyncType
full sync type- Returns:
-
setFullSyncType
full sync type- Parameters:
fullSyncType1
-
-
getGroupIdsForSync
group ids to do group syncs for- Returns:
- group ids to sync
-
setGroupIdsForSync
group ids to do group syncs for- Parameters:
groupIdsForSync1
-
-
getMemberIdsForSync
member ids to do member syncs for- Returns:
- member ids
-
setMemberIdsForSync
member ids to do member syncs for- Parameters:
memberIdsForSync1
-
-
getMembershipsForSync
memberships to analyze for sync- Returns:
- memberships
-
setMembershipsForSync
memberships to analyze for sync- Parameters:
membershipsForSync1
-
-
toJson
convert to json- Returns:
- the json of this
-
fromJson
convert from json- Parameters:
json
-- Returns:
- the object of this json
-
send
- Parameters:
targetName
-
-