public class ProjectServerDirs
This is part of the project extension and describes different directory configurations for different environment types (prod, dev, test).
@Inject
public ProjectServerDirs(@NotNull
org.gradle.api.model.ObjectFactory objectFactory)
creates a configuration of a set of ServerDirs.
@NotNull public ServerDirSet getBase()
public void base(@NotNull
org.gradle.api.Action<? super com.intershop.gradle.icm.extension.ServerDirSet> action)
Configures a ServerDirSet from an action to the base configuration.
action - ServerDirSet configurationpublic void base(@NotNull
groovy.lang.Closure<com.intershop.gradle.icm.extension.ServerDirSet> c)
Configures a ServerDirSet from an action to the base configuration.
c - ServerDirSet closure@NotNull public ServerDirSet getProd()
public void prod(@NotNull
org.gradle.api.Action<? super com.intershop.gradle.icm.extension.ServerDirSet> action)
Configures a ServerDirSet from an action to the prod configuration.
action - ServerDirSet configurationpublic void prod(@NotNull
groovy.lang.Closure<com.intershop.gradle.icm.extension.ServerDirSet> c)
Configures a ServerDirSet from an action to the prod configuration.
c - ServerDirSet closure@NotNull public ServerDirSet getTest()
public void test(@NotNull
org.gradle.api.Action<? super com.intershop.gradle.icm.extension.ServerDirSet> action)
Configures a ServerDirSet from an action to the test configuration.
action - ServerDirSet configurationpublic void test(@NotNull
groovy.lang.Closure<com.intershop.gradle.icm.extension.ServerDirSet> c)
Configures a ServerDirSet from an action to the test configuration.
c - ServerDirSet closure@NotNull public ServerDirSet getDev()
public void dev(@NotNull
org.gradle.api.Action<? super com.intershop.gradle.icm.extension.ServerDirSet> action)
Configures a ServerDirSet from an action to the development configuration.
action - ServerDirSet configurationpublic void dev(@NotNull
groovy.lang.Closure<com.intershop.gradle.icm.extension.ServerDirSet> c)
Configures a ServerDirSet from an action to the development configuration.
c - ServerDirSet closure@NotNull public ServerDirSet getServerDirSet(@NotNull EnvironmentType type)
Get serverdir set of environment type.
type - environment type