public class

SimpleRefChange

extends Object
implements RefChange
java.lang.Object
   ↳ com.atlassian.bitbucket.repository.SimpleRefChange
Known Direct Subclasses

Class Overview

A simple, immutable implementation of RefChange. To enhance compatibility across releases, instances must be created using the nested builder.

Summary

Nested Classes
class SimpleRefChange.AbstractBuilder<B extends AbstractBuilder<B>>  
class SimpleRefChange.Builder  
[Expand]
Inherited Constants
From interface com.atlassian.bitbucket.repository.RefChange
Protected Constructors
SimpleRefChange(AbstractBuilder<?> builder)
@Deprecated SimpleRefChange(MinimalRef ref, String fromHash, String toHash, RefChangeType type)
This constructor is deprecated. in 5.10 for removal in 6.0. Use SimpleRefChange.Builder instead.
Public Methods
boolean equals(Object o)
@Nonnull String getFromHash()
@Nonnull MinimalRef getRef()
@Nonnull String getToHash()
@Nonnull RefChangeType getType()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.bitbucket.repository.RefChange

Protected Constructors

protected SimpleRefChange (AbstractBuilder<?> builder)

@Deprecated protected SimpleRefChange (MinimalRef ref, String fromHash, String toHash, RefChangeType type)

This constructor is deprecated.
in 5.10 for removal in 6.0. Use SimpleRefChange.Builder instead.

Public Methods

public boolean equals (Object o)

@Nonnull public String getFromHash ()

@Nonnull public MinimalRef getRef ()

@Nonnull public String getToHash ()

@Nonnull public RefChangeType getType ()

public int hashCode ()

public String toString ()