Interface ChangesCalculationOptions

    • Method Detail

      • getPrevBuildPolicy

        @NotNull
        SelectPrevBuildPolicy getPrevBuildPolicy()
        Returns previous build selection policy to use during changes calculation.
        Returns:
        see above
      • isReturnChangesIfNoPreviousBuildFound

        boolean isReturnChangesIfNoPreviousBuildFound()
        Returns true if changes should be returned when no previous build is found
        Returns:
        see above
      • setReturnChangesIfNoPreviousBuildFound

        @NotNull
        ChangesCalculationOptions setReturnChangesIfNoPreviousBuildFound​(boolean returnChangesIfNoPreviousBuildFound)
        Specifies whether changes should be return when previous build is not found, by default true. If set to false and previous build is not found, then changes calculation will return an empty collection of changes.
        Parameters:
        returnChangesIfNoPreviousBuildFound - whether changes should be computed
        Returns:
        this object
      • getIncludeDependencyChanges

        @Nullable
        java.lang.Boolean getIncludeDependencyChanges()
        Returns true if changes from snapshot dependencies should be computed, false if they should not be computed, null if the option specified in build configuration should be used.
        Returns:
        see above
      • setIncludeDependencyChanges

        ChangesCalculationOptions setIncludeDependencyChanges​(@Nullable
                                                              java.lang.Boolean includeDependencyChanges)
        Specifies whether changes from snapshot dependencies should be computed. Null means use option specified in build configuration.
        Parameters:
        includeDependencyChanges - whether changes from dependencies should be computed
        Returns:
        this object
      • copy

        @NotNull
        ChangesCalculationOptions copy()
        Returns a new copy of this object which can be changed independently from the original
        Returns:
        see above