Class ObjectCalisthenicsRules

java.lang.Object
com.github.larseckart.objectcalisthenics.gradle.ObjectCalisthenicsRules

public abstract class ObjectCalisthenicsRules extends Object
DSL for configuring which rules to enforce and their thresholds.
  • Constructor Details

    • ObjectCalisthenicsRules

      @Inject public ObjectCalisthenicsRules()
  • Method Details

    • getMaxClassLines

      @Input public abstract org.gradle.api.provider.Property<Integer> getMaxClassLines()
    • getMaxFieldsPerClass

      @Input public abstract org.gradle.api.provider.Property<Integer> getMaxFieldsPerClass()
    • getForbidElse

      @Input public abstract org.gradle.api.provider.Property<Boolean> getForbidElse()
    • getMaxMethodNesting

      @Input public abstract org.gradle.api.provider.Property<Integer> getMaxMethodNesting()
    • getForbidGetters

      @Input public abstract org.gradle.api.provider.Property<Boolean> getForbidGetters()
    • getForbidSetters

      @Input public abstract org.gradle.api.provider.Property<Boolean> getForbidSetters()
    • getForbidNonFirstClassCollections

      @Input public abstract org.gradle.api.provider.Property<Boolean> getForbidNonFirstClassCollections()