Interface RepositorySyncAttempt.Builder

    • Method Detail

      • startedAt

        RepositorySyncAttempt.Builder startedAt​(Instant startedAt)

        The start time of a specific sync attempt.

        Parameters:
        startedAt - The start time of a specific sync attempt.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • status

        RepositorySyncAttempt.Builder status​(String status)

        The status of a specific sync attempt. The following are valid statuses:

        • INITIATED - A repository sync attempt has been created and will begin soon.

        • IN_PROGRESS - A repository sync attempt has started and work is being done to reconcile the branch.

        • SUCCEEDED - The repository sync attempt has completed successfully.

        • FAILED - The repository sync attempt has failed.

        • QUEUED - The repository sync attempt didn't execute and was queued.

        Parameters:
        status - The status of a specific sync attempt. The following are valid statuses:

        • INITIATED - A repository sync attempt has been created and will begin soon.

        • IN_PROGRESS - A repository sync attempt has started and work is being done to reconcile the branch.

        • SUCCEEDED - The repository sync attempt has completed successfully.

        • FAILED - The repository sync attempt has failed.

        • QUEUED - The repository sync attempt didn't execute and was queued.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RepositorySyncStatus, RepositorySyncStatus
      • status

        RepositorySyncAttempt.Builder status​(RepositorySyncStatus status)

        The status of a specific sync attempt. The following are valid statuses:

        • INITIATED - A repository sync attempt has been created and will begin soon.

        • IN_PROGRESS - A repository sync attempt has started and work is being done to reconcile the branch.

        • SUCCEEDED - The repository sync attempt has completed successfully.

        • FAILED - The repository sync attempt has failed.

        • QUEUED - The repository sync attempt didn't execute and was queued.

        Parameters:
        status - The status of a specific sync attempt. The following are valid statuses:

        • INITIATED - A repository sync attempt has been created and will begin soon.

        • IN_PROGRESS - A repository sync attempt has started and work is being done to reconcile the branch.

        • SUCCEEDED - The repository sync attempt has completed successfully.

        • FAILED - The repository sync attempt has failed.

        • QUEUED - The repository sync attempt didn't execute and was queued.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RepositorySyncStatus, RepositorySyncStatus
      • events

        RepositorySyncAttempt.Builder events​(Collection<RepositorySyncEvent> events)

        The events associated with a specific sync attempt.

        Parameters:
        events - The events associated with a specific sync attempt.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • events

        RepositorySyncAttempt.Builder events​(RepositorySyncEvent... events)

        The events associated with a specific sync attempt.

        Parameters:
        events - The events associated with a specific sync attempt.
        Returns:
        Returns a reference to this object so that method calls can be chained together.