Enum TargetConf

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum TargetConf
    extends Enum<TargetConf>
                        

    An enumeration of target directories and files of special environment typs - production, test and local server.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Method Summary

      Modifier and Type Method Description
      abstract Provider<Directory> cartridges(ProjectLayout projectLayout) Returns the the provider of a directory for external cartridgs.
      abstract Provider<Directory> libs(ProjectLayout projectLayout) Returns the the provider of a directory for external project libraries.
      abstract Provider<Directory> config(ProjectLayout projectLayout) Returns the the provider of a directory for config folders.
      abstract Provider<RegularFile> cartridgelist(ProjectLayout projectLayout) Returns the the provider of a cartridge list file.
      final Array<TargetConf> values() Returns an array containing the constants of this enum type, in the order they're declared.
      final TargetConf valueOf(String value) Returns the enum constant of this type with the specified name.
      final String getValue()
      final EnumEntries<TargetConf> getEntries()
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • cartridges

         abstract Provider<Directory> cartridges(ProjectLayout projectLayout)

        Returns the the provider of a directory for external cartridgs.

        Returns:

        Provider<Directory>

      • libs

         abstract Provider<Directory> libs(ProjectLayout projectLayout)

        Returns the the provider of a directory for external project libraries.

        Returns:

        Provider<Directory>

      • config

         abstract Provider<Directory> config(ProjectLayout projectLayout)

        Returns the the provider of a directory for config folders.

        Returns:

        Provider<Directory>

      • cartridgelist

         abstract Provider<RegularFile> cartridgelist(ProjectLayout projectLayout)

        Returns the the provider of a cartridge list file.

        Returns:

        Provider<RegularFile>

      • values

         final Array<TargetConf> values()

        Returns an array containing the constants of this enum type, in the order they're declared.

        This method may be used to iterate over the constants.

      • valueOf

         final TargetConf valueOf(String value)

        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)