Package jetbrains.buildServer.vcs
Class BaseModificationData
- java.lang.Object
-
- jetbrains.buildServer.vcs.BaseCommitData
-
- jetbrains.buildServer.vcs.BaseModificationData
-
- All Implemented Interfaces:
CommitData
- Direct Known Subclasses:
TModificationData,VcsModificationData
public class BaseModificationData extends BaseCommitData
This class contains all necessary information to be sent via XmlRpc to remote client about TeamCity version control modification
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetChangeCount()List<VcsChange>getChanges()StringgetDescription()StringgetUserName()inthashCode()booleanisCanBeIgnored()Returns true if this change can be ignored (i.e.voidsetCanBeIgnored(boolean canBeIgnored)Set to false if this change cannot be ignored even if all of its files are excluded by checkout rules in all of the build configurations.StringtoString()-
Methods inherited from class jetbrains.buildServer.vcs.BaseCommitData
addParentRevision, equalsImpl, getAttributes, getDisplayVersion, getParentRevisions, getVcsDate, getVersion, setAttribute, setAttributes, setParentRevisions
-
-
-
-
Method Detail
-
getUserName
@Nullable public String getUserName()
-
getDescription
@Nullable public String getDescription()
-
getChangeCount
public int getChangeCount()
-
isCanBeIgnored
public boolean isCanBeIgnored()
Returns true if this change can be ignored (i.e. is not registered in the system). Usually change can be safely ignored if all its files are excluded by checkout rules, however there are cases when it is not true. For such case usesetCanBeIgnored(boolean)- Returns:
- true if change can be ignored
-
setCanBeIgnored
public void setCanBeIgnored(boolean canBeIgnored)
Set to false if this change cannot be ignored even if all of its files are excluded by checkout rules in all of the build configurations. Default is [true].- Parameters:
canBeIgnored- set to false if change cannot be ignored
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classBaseCommitData
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseCommitData
-
toString
public String toString()
- Overrides:
toStringin classBaseCommitData
-
-