public class HostOptions
Manages host definitions in case of different purposes indicated by tags.
public static com.cognifide.gradle.aem.environment.hosts.HostOptions.Companion Companion
public HostOptions(@NotNull
Environment environment)
Manages host definitions in case of different purposes indicated by tags.
@NotNull public java.util.List<com.cognifide.gradle.aem.environment.hosts.Host> getDefined()
public void setDefined(@NotNull
java.util.List<com.cognifide.gradle.aem.environment.hosts.Host> p)
@NotNull public java.lang.String getIpDefault()
public void setIpDefault(@NotNull
java.lang.String p)
public void define(@NotNull
java.lang.String url,
@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.environment.hosts.Host,kotlin.Unit> options)
public void define(@NotNull
java.lang.String[] urls,
@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.environment.hosts.Host,kotlin.Unit> options)
public void define(@NotNull
java.lang.Iterable<java.lang.String> urls,
@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.environment.hosts.Host,kotlin.Unit> options)
@NotNull public Host find(@NotNull java.lang.String... tags)
@NotNull public Host find(@NotNull java.lang.Iterable<java.lang.String> tags)
@NotNull
public java.util.List<com.cognifide.gradle.aem.environment.hosts.Host> all(@NotNull
java.lang.String... tags)
@NotNull
public java.util.List<com.cognifide.gradle.aem.environment.hosts.Host> all(@NotNull
java.lang.Iterable<java.lang.String> tags)
@NotNull public Host getAuthor()
Get host responsible for accessing AEM author instance.
@NotNull public java.util.List<com.cognifide.gradle.aem.environment.hosts.Host> getAuthors()
Get hosts responsible for accessing AEM author instances.
public void author(@NotNull
java.lang.String[] urls,
@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.environment.hosts.Host,kotlin.Unit> options)
public void author(@NotNull
java.lang.Iterable<java.lang.String> urls,
@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.environment.hosts.Host,kotlin.Unit> options)
@NotNull public Host getPublish()
Get host responsible for accessing AEM author instance.
@NotNull public java.util.List<com.cognifide.gradle.aem.environment.hosts.Host> getPublishes()
Get hosts responsible for accessing AEM publish instances.
public void publish(@NotNull
java.lang.String[] urls,
@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.environment.hosts.Host,kotlin.Unit> options)
public void publish(@NotNull
java.lang.Iterable<java.lang.String> urls,
@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.environment.hosts.Host,kotlin.Unit> options)
@NotNull public java.util.List<com.cognifide.gradle.aem.environment.hosts.Host> getOthers()
public void other(@NotNull
java.lang.String[] urls,
@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.environment.hosts.Host,kotlin.Unit> options)
public void other(@NotNull
java.lang.Iterable<java.lang.String> urls,
@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.environment.hosts.Host,kotlin.Unit> options)