public class GenerateAssertions
| Constructor and Description |
|---|
GenerateAssertions() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterEvaluate(org.gradle.api.Project project,
org.gradle.api.ProjectState state) |
void |
beforeEvaluate(org.gradle.api.Project project) |
void |
generateAssertions() |
java.lang.String[] |
getClassOrPackageNames()
Classes and packages to generate assertions for.
|
java.lang.Boolean |
getCleanOutputDir()
Clean output directory before generating assertions.
|
java.lang.Boolean |
getEntryPointInherits()
Entry point classes inherit from core Assertj classes
|
java.lang.String |
getEntryPointPackage()
Destination package for entry point classes. The generator will choose if null.
|
org.assertj.assertions.generator.AssertionsEntryPointType[] |
getEntryPointTypes()
What kinds of entry point classes to generate.
|
java.lang.Object |
getOutputDir()
Output directory for generated classes.
Any type accepted by Project.file(Object).
|
java.lang.String |
getSourceSetName()
The name of the sourceSet containing classes to generate assertions for.
|
java.lang.String |
getTestSourceSetName()
The name of the target sourceSet for generated assertions.
|
void |
setClassOrPackageNames(java.lang.String[] p)
Classes and packages to generate assertions for.
|
void |
setCleanOutputDir(java.lang.Boolean p)
Clean output directory before generating assertions.
|
void |
setEntryPointInherits(java.lang.Boolean p)
Entry point classes inherit from core Assertj classes
|
void |
setEntryPointPackage(java.lang.String p)
Destination package for entry point classes. The generator will choose if null.
|
void |
setEntryPointTypes(org.assertj.assertions.generator.AssertionsEntryPointType[] p)
What kinds of entry point classes to generate.
|
void |
setOutputDir(java.lang.Object p)
Output directory for generated classes.
Any type accepted by Project.file(Object).
|
void |
setSourceSetName(java.lang.String p)
The name of the sourceSet containing classes to generate assertions for.
|
void |
setTestSourceSetName(java.lang.String p)
The name of the target sourceSet for generated assertions.
|
public org.assertj.assertions.generator.AssertionsEntryPointType[] getEntryPointTypes()
What kinds of entry point classes to generate.
public void setEntryPointTypes(org.assertj.assertions.generator.AssertionsEntryPointType[] p)
What kinds of entry point classes to generate.
public java.lang.Object getOutputDir()
Output directory for generated classes. Any type accepted by Project.file(Object).
public void setOutputDir(java.lang.Object p)
Output directory for generated classes. Any type accepted by Project.file(Object).
public java.lang.String getSourceSetName()
The name of the sourceSet containing classes to generate assertions for.
public void setSourceSetName(java.lang.String p)
The name of the sourceSet containing classes to generate assertions for.
public java.lang.String getTestSourceSetName()
The name of the target sourceSet for generated assertions.
public void setTestSourceSetName(java.lang.String p)
The name of the target sourceSet for generated assertions.
public java.lang.String getEntryPointPackage()
Destination package for entry point classes. The generator will choose if null.
public void setEntryPointPackage(java.lang.String p)
Destination package for entry point classes. The generator will choose if null.
public java.lang.Boolean getEntryPointInherits()
Entry point classes inherit from core Assertj classes
public void setEntryPointInherits(java.lang.Boolean p)
Entry point classes inherit from core Assertj classes
public java.lang.String[] getClassOrPackageNames()
Classes and packages to generate assertions for.
public void setClassOrPackageNames(java.lang.String[] p)
Classes and packages to generate assertions for.
public java.lang.Boolean getCleanOutputDir()
Clean output directory before generating assertions.
public void setCleanOutputDir(java.lang.Boolean p)
Clean output directory before generating assertions.
public void afterEvaluate(org.gradle.api.Project project,
org.gradle.api.ProjectState state)
public void beforeEvaluate(org.gradle.api.Project project)
public void generateAssertions()