public class HistorySubInterfaceImpl extends AbstractSubEmfstoreInterface
| Constructor and Description |
|---|
HistorySubInterfaceImpl(AbstractEmfstoreInterface parentInterface)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTag(ProjectId projectId,
PrimaryVersionSpec versionSpec,
TagVersionSpec tag)
Add a tag to the specified version specifier.
|
Set<ModelElementId> |
getAllInvolvedModelElements(AbstractChangePackage changePackage)
Returns all model elements associated with the given change package.
|
List<HistoryInfo> |
getHistoryInfo(ProjectId projectId,
HistoryQuery<?> historyQuery)
Returns history information for the given project.
|
void |
removeTag(ProjectId projectId,
PrimaryVersionSpec versionSpec,
TagVersionSpec tag)
Removes the tag from the specified version specifier.
|
execute, getResourceHelperpublic HistorySubInterfaceImpl(AbstractEmfstoreInterface parentInterface) throws FatalESException
parentInterface - parent interfaceFatalESException - in case of failurepublic void addTag(ProjectId projectId, PrimaryVersionSpec versionSpec, TagVersionSpec tag) throws ESException
projectId - the ID of a projectversionSpec - the version specifiertag - the tag to be addedESException - in case of failurepublic void removeTag(ProjectId projectId, PrimaryVersionSpec versionSpec, TagVersionSpec tag) throws ESException
projectId - the ID of a projectversionSpec - the version specifiertag - the tag to be removedESException - in case of failurepublic List<HistoryInfo> getHistoryInfo(ProjectId projectId, HistoryQuery<?> historyQuery) throws ESException
projectId - the ProjectId of the project whose history should be fetchedhistoryQuery - the history queryHistoryInfo about the projectESException - in case an error occurs while fetching the historypublic Set<ModelElementId> getAllInvolvedModelElements(AbstractChangePackage changePackage)
changePackage - the change package to analyzeModelElementIds representing the involved model elementsCopyright © 2017. All rights reserved.