public class

SimpleRefChange

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

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.Builder  
[Expand]
Inherited Constants
From interface com.atlassian.bitbucket.repository.RefChange
Protected Constructors
SimpleRefChange(MinimalRef ref, String fromHash, String toHash, RefChangeType type)
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 (MinimalRef ref, String fromHash, String toHash, RefChangeType type)

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 ()