public class

SimpleRefChange

extends Object
implements RefChange
java.lang.Object
   ↳ com.atlassian.stash.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 Fields
From interface com.atlassian.stash.repository.RefChange
Protected Constructors
SimpleRefChange(String refId, String fromHash, String toHash, RefChangeType type)
Public Methods
boolean equals(Object o)
@Nonnull String getFromHash()
@Nonnull String getRefId()
@Nonnull String getToHash()
@Nonnull RefChangeType getType()
int hashCode()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.stash.repository.RefChange

Protected Constructors

protected SimpleRefChange (String refId, String fromHash, String toHash, RefChangeType type)

Public Methods

public boolean equals (Object o)

@Nonnull public String getFromHash ()

@Nonnull public String getRefId ()

@Nonnull public String getToHash ()

@Nonnull public RefChangeType getType ()

public int hashCode ()