Package io.github.gmazzo.modulekind
Interface ModuleKindConstraintsExtension
-
- All Implemented Interfaces:
public interface ModuleKindConstraintsExtension
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumModuleKindConstraintsExtension.OnMissingKind
-
Method Summary
Modifier and Type Method Description Unitcompatibility(String kind, String compatibleWith, String andOthers)Declares that a module kind of kind is compatible with another of kind compatibleWith (and possible andOthers). Unitcompatibility(String kind, ModuleKindConstraint compatibleWith, ModuleKindConstraint andOthers)Declares that a module kind of kind is compatible with another of kind compatibleWith (and possible andOthers). UnitcompatibleWith(String $self, String other)Declares that a module kind of this is compatible with another of kind compatibleWith. UnitcompatibleWith(String $self, ModuleKindConstraint other)Declares that a module kind of this is compatible with another of kind compatibleWith. abstract NamedDomainObjectContainer<ModuleKindConstraint>getConstraints()abstract Property<ModuleKindConstraintsExtension.OnMissingKind>getOnMissingKind()Strategy when a module does not define a moduleKindproperty.-
-
Method Detail
-
compatibility
Unit compatibility(String kind, String compatibleWith, String andOthers)
Declares that a module kind of kind is compatible with another of kind compatibleWith (and possible andOthers).
-
compatibility
Unit compatibility(String kind, ModuleKindConstraint compatibleWith, ModuleKindConstraint andOthers)
Declares that a module kind of kind is compatible with another of kind compatibleWith (and possible andOthers).
-
compatibleWith
Unit compatibleWith(String $self, String other)
Declares that a module kind of this is compatible with another of kind compatibleWith.
-
compatibleWith
Unit compatibleWith(String $self, ModuleKindConstraint other)
Declares that a module kind of this is compatible with another of kind compatibleWith.
-
getConstraints
abstract NamedDomainObjectContainer<ModuleKindConstraint> getConstraints()
-
getOnMissingKind
abstract Property<ModuleKindConstraintsExtension.OnMissingKind> getOnMissingKind()
Strategy when a module does not define a
moduleKindproperty.Defaults to OnMissingKind.FAIL (and OnMissingKind.WARN on Idea's Gradle Sync).
-
-
-
-