Class DirectorySynchronisationRoundInformation

java.lang.Object
com.atlassian.crowd.embedded.api.DirectorySynchronisationRoundInformation
All Implemented Interfaces:
Serializable

public class DirectorySynchronisationRoundInformation extends Object implements Serializable
Information of a directory synchronisation round.
See Also:
  • Constructor Details

  • Method Details

    • getStartTime

      public long getStartTime()
      Returns the time in milliseconds of the directory synchronisation time.
      Returns:
      the time in milliseconds of the directory synchronisation time
    • getDurationMs

      public long getDurationMs()
      Returns in milliseconds the duration of the synchronisation.
      Returns:
      duration of the synchronisation in milliseconds
    • getStatusKey

      @Nullable public String getStatusKey()
      Returns a status key that can be used to get a human readable synchronisation status message.
      Returns:
      status key
    • getStatusParameters

      @Nullable public List<Serializable> getStatusParameters()
      Returns parameters for status key retrieved from getStatusKey().
      Returns:
      parameters for status key
    • getNodeId

      public Optional<String> getNodeId()
      Returns the id of the node that performed the synchronization.
      Returns:
      node id
    • getNodeName

      public Optional<String> getNodeName()
      Returns the name of the node that performed the synchronization.
      Returns:
      node name
    • getIncrementalSyncError

      public Optional<String> getIncrementalSyncError()
      Returns the incremental synchronisation failure reason.
      Returns:
      failure reason or null
    • getFullSyncError

      public Optional<String> getFullSyncError()
      Returns the full synchronisation failure reason.
      Returns:
      failure reason or null
    • builder

    • builder

    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object