public final enum

ChangeType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.atlassian.stash.content.ChangeType

Class Overview

Defines the standard Change types which may occur in a given Changeset.

Summary

Enum Values
ChangeType  ADD  A new file was added. 
ChangeType  COPY  An existing file was copied to create a new file. 
ChangeType  DELETE  An existing file was deleted. 
ChangeType  MODIFY  An existing file was modified. 
ChangeType  MOVE  An existing file was moved to a new path. 
ChangeType  UNKNOWN  An SCM-specific change has occurred for which there is no known generic alias. 
Public Methods
static ChangeType valueOf(String name)
final static ChangeType[] values()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ChangeType ADD

A new file was added.

public static final ChangeType COPY

An existing file was copied to create a new file.

public static final ChangeType DELETE

An existing file was deleted.

public static final ChangeType MODIFY

An existing file was modified.

public static final ChangeType MOVE

An existing file was moved to a new path.

Note: Renaming a file moves it from an old name to a new one, which also changes its path. As such, a move may affect a file's name, directory or both.

public static final ChangeType UNKNOWN

An SCM-specific change has occurred for which there is no known generic alias.

Public Methods

public static ChangeType valueOf (String name)

public static final ChangeType[] values ()