Class SyncParameters


  • public class SyncParameters
    extends java.lang.Object
    Item synchronization parameters.
    • Method Detail

      • getIntegrationObjectCode

        public java.lang.String getIntegrationObjectCode()
        Retrieves information about the integration object used for outbound communication.
        Returns:
        code of the integration object to be used.
      • getDestinationId

        public java.lang.String getDestinationId()
        Retrieves information about the destination, to which data should be sent.
        Returns:
        ID of the ConsumedDestinationModel to send data to.
      • getSource

        public OutboundSource getSource()
        Retrieves information about the module that initiated the data exchange with the destination.
        Returns:
        module that sends data to the remote system.
        See Also:
        getDestination()
      • getDestination

        public ConsumedDestinationModel getDestination()
        Retrieves destination to which data should be sent.
        Returns:
        a destination representing a remote system receiving data.
      • getIntegrationObject

        public IntegrationObjectModel getIntegrationObject()
        Retrieves integration object used for outbound communication.
        Returns:
        integration object to be used.
      • getEventType

        public EventType getEventType()
        Retrieves type of the event that triggered outbound synchronization.
        Returns:
        type of the event or DefaultEventType.UNKNOWN, if the synchronization is not triggered by event but is a scheduled batch synchronization.
      • getIntegrationKey

        public java.lang.String getIntegrationKey()
        Retrieves integration key value.
        Returns:
        integration key of the item being synchronized.
      • syncParametersBuilder

        public static SyncParameters.SyncParametersBuilder syncParametersBuilder()
        Returns a builder for creation of SyncParameters.
        Returns:
        a builder to use for SyncParameters creation. Returned builder has empty state, that is no SyncParameters property is specified for it.
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object