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.
-
-
Field Summary
Fields Modifier and Type Field Description private final Stringvalueprivate final Stringnameprivate final Integerordinalprivate final EnumEntries<TargetConf>entries
-
Enum Constant Summary
Enum Constants Enum Constant Description PRODUCTIONTESTDEVELOPMENT
-
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 TargetConfvalueOf(String value)Returns the enum constant of this type with the specified name. final StringgetValue()final EnumEntries<TargetConf>getEntries()-
-
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.)
-
getEntries
final EnumEntries<TargetConf> getEntries()
-
-
-
-