Class ProvisioningMessage

java.lang.Object
edu.internet2.middleware.grouper.changeLog.esb.consumer.ProvisioningMessage

public class ProvisioningMessage extends Object
message sent in JSON to tell the provisioner to analyze objects
  • Constructor Details

    • ProvisioningMessage

      public ProvisioningMessage()
  • Method Details

    • getMillisSince1970

      public long getMillisSince1970()
    • setMillisSince1970

      public void setMillisSince1970(long millisSince1970)
    • main

      public static void main(String[] args)
      Parameters:
      args -
    • getReadOnly

      public Boolean getReadOnly()
      Returns:
      if the message should trigger a read only sync and then the results will be in log
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
      if the message should trigger a read only sync and then the results will be in log
      Parameters:
      readOnly -
    • getBlocking

      public Boolean 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

      public void setBlocking(Boolean blocking1)
      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

      public Boolean getFullSync()
      if a full sync should be run
      Returns:
      true if should run a full sync
    • setFullSync

      public void setFullSync(Boolean fullSync1)
      if a full sync should be run
      Parameters:
      fullSync1 -
    • getFullSyncType

      public String getFullSyncType()
      full sync type
      Returns:
    • setFullSyncType

      public void setFullSyncType(String fullSyncType1)
      full sync type
      Parameters:
      fullSyncType1 -
    • getGroupIdsForSync

      public String[] getGroupIdsForSync()
      group ids to do group syncs for
      Returns:
      group ids to sync
    • setGroupIdsForSync

      public void setGroupIdsForSync(String[] groupIdsForSync1)
      group ids to do group syncs for
      Parameters:
      groupIdsForSync1 -
    • getMemberIdsForSync

      public String[] getMemberIdsForSync()
      member ids to do member syncs for
      Returns:
      member ids
    • setMemberIdsForSync

      public void setMemberIdsForSync(String[] memberIdsForSync1)
      member ids to do member syncs for
      Parameters:
      memberIdsForSync1 -
    • getMembershipsForSync

      public ProvisioningMembershipMessage[] getMembershipsForSync()
      memberships to analyze for sync
      Returns:
      memberships
    • setMembershipsForSync

      public void setMembershipsForSync(ProvisioningMembershipMessage[] membershipsForSync1)
      memberships to analyze for sync
      Parameters:
      membershipsForSync1 -
    • toJson

      public String toJson()
      convert to json
      Returns:
      the json of this
    • fromJson

      public static ProvisioningMessage fromJson(String json)
      convert from json
      Parameters:
      json -
      Returns:
      the object of this json
    • send

      public void send(String targetName)
      Parameters:
      targetName -