Class PolicySpec

java.lang.Object
com.egoge.ai.atlas.plugin.PolicySpec

public abstract class PolicySpec extends Object
agentic { release { policy { … } } }: what a release may remove from the contract the previous release published. A removal is a field or operation no longer published, a channel it is reachable on that it loses, or a module's whole contract disappearing.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract org.gradle.api.provider.Property<Boolean>
    Whether any other breaking difference fails a release with the same apiMajor as the previous release.
    abstract org.gradle.api.provider.Property<Integer>
    The majors between a field or operation's deprecation major and the apiMajor of the release that removes it.
    abstract org.gradle.api.provider.Property<Integer>
    The releases a field or operation must have been published in while deprecated before a release may remove it.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PolicySpec

      public PolicySpec()
  • Method Details

    • getMinDeprecatedReleases

      public abstract org.gradle.api.provider.Property<Integer> getMinDeprecatedReleases()
      The releases a field or operation must have been published in while deprecated before a release may remove it. Defaults to 1.
    • getMinApiMajorAdvance

      public abstract org.gradle.api.provider.Property<Integer> getMinApiMajorAdvance()
      The majors between a field or operation's deprecation major and the apiMajor of the release that removes it. Defaults to 1, so an element cannot be removed in the major it was deprecated in.
    • getFailOnBreaking

      public abstract org.gradle.api.provider.Property<Boolean> getFailOnBreaking()
      Whether any other breaking difference fails a release with the same apiMajor as the previous release. Defaults to true. Across a major, breaking differences are only listed in the changelog.