public final enum

RefChangeType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.bitbucket.repository.RefChangeType

Class Overview

Represents the different types of ref changes.

Summary

Enum Values
RefChangeType  ADD   
RefChangeType  DELETE   
RefChangeType  UPDATE   
Public Methods
@Nonnull static RefChangeType fromId(int id)
int getId()
static RefChangeType valueOf(String name)
final static RefChangeType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final RefChangeType ADD

public static final RefChangeType DELETE

public static final RefChangeType UPDATE

Public Methods

@Nonnull public static RefChangeType fromId (int id)

Parameters
id the unique identifier for the type (not its ordinal())
Returns
  • the matching type
Throws
IllegalArgumentException if the specified ID does not match a type

public int getId ()

Returns
  • a unique identifier for this type which will never change

public static RefChangeType valueOf (String name)

public static final RefChangeType[] values ()