Class BaseModificationData

    • Constructor Detail

      • BaseModificationData

        protected BaseModificationData​(@Nullable
                                       java.lang.String user,
                                       @Nullable
                                       java.lang.String description,
                                       @NotNull
                                       java.util.Date vcsDate,
                                       @NotNull
                                       java.util.List<VcsChange> changes,
                                       @NotNull
                                       java.lang.String version,
                                       @Nullable
                                       java.lang.String displayVersion,
                                       int changesCount)
    • Method Detail

      • getUserName

        @Nullable
        public java.lang.String getUserName()
      • getDescription

        @Nullable
        public java.lang.String getDescription()
      • getChanges

        @NotNull
        public java.util.List<VcsChange> getChanges()
      • 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 use setCanBeIgnored(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​(java.lang.Object o)
        Overrides:
        equals in class BaseCommitData