Class BuildChangesImpl
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.BuildChangesImpl
-
- All Implemented Interfaces:
BuildChanges
public class BuildChangesImpl extends Object implements BuildChanges
-
-
Constructor Summary
Constructors Constructor Description BuildChangesImpl(List<ChangeDescriptor> changes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Iterable<SVcsModification>
getDependencyVcsChanges()
Returns VCS changes from snapshot dependenciesIterable<SVcsModification>
getOwnVcsChanges()
Returns own VCS changes (not changes from snapshot dependencies)Iterable<SVcsModification>
getVcsChanges()
Returns all VCS changes in a build, result includes both own changes and changes from dependenciesboolean
isDependencyChange(SVcsModification modification)
Returns true if modification is from dependenciesboolean
isOwnChange(SVcsModification modification)
Returns true if modification is from build itself
-
-
-
Constructor Detail
-
BuildChangesImpl
public BuildChangesImpl(@NotNull List<ChangeDescriptor> changes)
-
-
Method Detail
-
getVcsChanges
@NotNull public Iterable<SVcsModification> getVcsChanges()
Description copied from interface:BuildChanges
Returns all VCS changes in a build, result includes both own changes and changes from dependencies- Specified by:
getVcsChanges
in interfaceBuildChanges
- Returns:
- see above
-
getOwnVcsChanges
@NotNull public Iterable<SVcsModification> getOwnVcsChanges()
Description copied from interface:BuildChanges
Returns own VCS changes (not changes from snapshot dependencies)- Specified by:
getOwnVcsChanges
in interfaceBuildChanges
- Returns:
- see above
-
getDependencyVcsChanges
@NotNull public Iterable<SVcsModification> getDependencyVcsChanges()
Description copied from interface:BuildChanges
Returns VCS changes from snapshot dependencies- Specified by:
getDependencyVcsChanges
in interfaceBuildChanges
- Returns:
- see above
-
isOwnChange
public boolean isOwnChange(@NotNull SVcsModification modification)
Description copied from interface:BuildChanges
Returns true if modification is from build itself- Specified by:
isOwnChange
in interfaceBuildChanges
- Parameters:
modification
- modification to check- Returns:
- see above
-
isDependencyChange
public boolean isDependencyChange(@NotNull SVcsModification modification)
Description copied from interface:BuildChanges
Returns true if modification is from dependencies- Specified by:
isDependencyChange
in interfaceBuildChanges
- Parameters:
modification
- modification to check- Returns:
- see above
-
-