public class CheckRunner
| Constructor and Description |
|---|
CheckRunner(AemExtension aem) |
| Modifier and Type | Method and Description |
|---|---|
void |
check(java.util.Collection<? extends com.cognifide.gradle.aem.common.instance.Instance> instances) |
void |
checks(kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.common.instance.check.CheckGroup,? extends java.util.List<? extends com.cognifide.gradle.aem.common.instance.check.Check>> definitions)
Defines which checks should be performed (and repeated).
|
java.lang.Exception |
getAbortCause()
Error causing running stopped.
|
boolean |
getAborted()
Verify if running is stopped.
|
long |
getDelay()
How long to wait after failed checking before checking again.
|
boolean |
getLogInstantly()
Controls logging behavior
|
long |
getRunningTime()
Time since running started.
|
boolean |
getVerbose()
Controls if aborted running should fail build.
|
CheckProgress |
progress(Instance instance)
Get current checking progress of concrete instance.
|
void |
setAbortCause(java.lang.Exception p)
Error causing running stopped.
|
void |
setDelay(long p)
How long to wait after failed checking before checking again.
|
void |
setLogInstantly(boolean p)
Controls logging behavior
|
void |
setVerbose(boolean p)
Controls if aborted running should fail build.
|
public CheckRunner(@NotNull
AemExtension aem)
public void checks(@NotNull
kotlin.jvm.functions.Function1<? super com.cognifide.gradle.aem.common.instance.check.CheckGroup,? extends java.util.List<? extends com.cognifide.gradle.aem.common.instance.check.Check>> definitions)
Defines which checks should be performed (and repeated).
@NotNull public CheckProgress progress(@NotNull Instance instance)
Get current checking progress of concrete instance.
public long getDelay()
How long to wait after failed checking before checking again.
public void setDelay(long p)
How long to wait after failed checking before checking again.
public boolean getVerbose()
Controls if aborted running should fail build.
public void setVerbose(boolean p)
Controls if aborted running should fail build.
public long getRunningTime()
Time since running started.
@Nullable public java.lang.Exception getAbortCause()
Error causing running stopped.
public void setAbortCause(@Nullable
java.lang.Exception p)
Error causing running stopped.
public boolean getAborted()
Verify if running is stopped.
public boolean getLogInstantly()
Controls logging behavior
By default it just keeps clean console if info logging level is not enabled.
public void setLogInstantly(boolean p)
Controls logging behavior
By default it just keeps clean console if info logging level is not enabled.
public void check(@NotNull
java.util.Collection<? extends com.cognifide.gradle.aem.common.instance.Instance> instances)