Class Layer

    • Method Detail

      • anyOf

        public static Layer anyOf​(String... slices)
        Constructs a Layer without further constraints on its slices.
        Parameters:
        slices - the slice names
        Returns:
        a new lenient layer constraint
      • oneOf

        public static Layer oneOf​(String... slices)
        Constructs a Layer whose slices must not depend on each other.
        Parameters:
        slices - the slice names
        Returns:
        a new strict layer constraint
      • contains

        public boolean contains​(String slice)
      • denyDependenciesWithinLayer

        public boolean denyDependenciesWithinLayer()
      • getShortString

        public String getShortString()