Class RefSyncRequest

java.lang.Object
com.atlassian.bitbucket.repository.sync.RefSyncRequest

public class RefSyncRequest extends Object
Encapsulates a request to manually synchronize a ref which can no longer be automatically synchronized with its upstream.

Some actions support additional context values, allowing greater control over the work they perform. For example, the MERGE action supports a "commitMessage" context value, which can be used to specify an explicit commit message for the merge. Such context values are described in the documentation for the action.

Note: The ref ID is required to be fully-qualified. Display IDs will not be accepted, even if they are not ambiguous within the repository.

  • Method Details

    • getAction

      @Nonnull public RefSyncAction getAction()
    • getContext

      @Nonnull public Map<String,Object> getContext()
    • getRefId

      @Nonnull public String getRefId()
    • getRepository

      @Nonnull public com.atlassian.bitbucket.repository.Repository getRepository()