public interface ChangesCalculationOptions
ChangesCalculationOptionsFactory.create()
to create options.Modifier and Type | Method and Description |
---|---|
ChangesCalculationOptions |
copy()
Returns a new copy of this object which can be changed independently from the original
|
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.
|
SelectPrevBuildPolicy |
getPrevBuildPolicy()
Returns previous build selection policy to use during changes calculation.
|
boolean |
isReturnChangesIfNoPreviousBuildFound()
Returns true if changes should be returned when no previous build is found
|
ChangesCalculationOptions |
setIncludeDependencyChanges(java.lang.Boolean includeDependencyChanges)
Specifies whether changes from snapshot dependencies should be computed.
|
ChangesCalculationOptions |
setPrevBuildPolicy(SelectPrevBuildPolicy prevBuildPolicy)
Sets previous build selection policy to use during changes calculation.
|
ChangesCalculationOptions |
setReturnChangesIfNoPreviousBuildFound(boolean returnChangesIfNoPreviousBuildFound)
Specifies whether changes should be return when previous build is not found,
by default true.
|
@NotNull SelectPrevBuildPolicy getPrevBuildPolicy()
@NotNull ChangesCalculationOptions setPrevBuildPolicy(@NotNull SelectPrevBuildPolicy prevBuildPolicy)
SelectPrevBuildPolicy.SINCE_LAST_BUILD
policy
is used.prevBuildPolicy
- policy to useboolean isReturnChangesIfNoPreviousBuildFound()
@NotNull ChangesCalculationOptions setReturnChangesIfNoPreviousBuildFound(boolean returnChangesIfNoPreviousBuildFound)
returnChangesIfNoPreviousBuildFound
- whether changes should be computed@Nullable java.lang.Boolean getIncludeDependencyChanges()
ChangesCalculationOptions setIncludeDependencyChanges(@Nullable java.lang.Boolean includeDependencyChanges)
includeDependencyChanges
- whether changes from dependencies should be computed@NotNull ChangesCalculationOptions copy()