Package com.atlassian.crowd.embedded.api
Class DirectorySynchronisationRoundInformation
java.lang.Object
com.atlassian.crowd.embedded.api.DirectorySynchronisationRoundInformation
- All Implemented Interfaces:
Serializable
Information of a directory synchronisation round.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
-
Constructor Summary
ModifierConstructorDescriptionDirectorySynchronisationRoundInformation
(long startTime, long durationMs, String statusKey, List<Serializable> statusParameters) Deprecated.protected
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
boolean
long
Returns in milliseconds the duration of the synchronisation.Returns the full synchronisation failure reason.Returns the incremental synchronisation failure reason.Returns the id of the node that performed the synchronization.Returns the name of the node that performed the synchronization.long
Returns the time in milliseconds of the directory synchronisation time.Returns a status key that can be used to get a human readable synchronisation status message.Returns parameters for status key retrieved fromgetStatusKey()
.int
hashCode()
toString()
-
Constructor Details
-
DirectorySynchronisationRoundInformation
@Deprecated public DirectorySynchronisationRoundInformation(long startTime, long durationMs, @Nullable String statusKey, @Nullable List<Serializable> statusParameters) Deprecated. -
DirectorySynchronisationRoundInformation
protected DirectorySynchronisationRoundInformation(DirectorySynchronisationRoundInformation.Builder builder)
-
-
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
Returns a status key that can be used to get a human readable synchronisation status message.- Returns:
- status key
-
getStatusParameters
Returns parameters for status key retrieved fromgetStatusKey()
.- Returns:
- parameters for status key
-
getNodeId
Returns the id of the node that performed the synchronization.- Returns:
- node id
-
getNodeName
Returns the name of the node that performed the synchronization.- Returns:
- node name
-
getIncrementalSyncError
Returns the incremental synchronisation failure reason.- Returns:
- failure reason or null
-
getFullSyncError
Returns the full synchronisation failure reason.- Returns:
- failure reason or null
-
builder
-
builder
public static DirectorySynchronisationRoundInformation.Builder builder(DirectorySynchronisationRoundInformation data) -
equals
-
hashCode
public int hashCode() -
toString
-