public class ChangeFinder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ChangeFinder.ChangeIdType |
Modifier and Type | Method and Description |
---|---|
List<ChangeNotes> |
find(Change.Id id) |
List<ChangeNotes> |
find(String id)
Find changes matching the given identifier.
|
List<ChangeNotes> |
find(String id,
boolean enforceDeprecation)
Find changes matching the given identifier.
|
ChangeNotes |
findOne(Change.Id id) |
ChangeNotes |
findOne(String id) |
static com.google.inject.Module |
module() |
public static com.google.inject.Module module()
public ChangeNotes findOne(String id)
public List<ChangeNotes> find(String id)
id
- change identifier.public List<ChangeNotes> find(String id, boolean enforceDeprecation) throws DeprecatedIdentifierException
id
- change identifier.enforceDeprecation
- boolean to see if we should throw DeprecatedIdentifierException
in case the identifier is deprecatedDeprecatedIdentifierException
- if the identifier is deprecated.public ChangeNotes findOne(Change.Id id)
public List<ChangeNotes> find(Change.Id id)