Class ExecutionPlanExpectation
- java.lang.Object
-
- de.bmiag.tapir.executiontest.expectation.plan.ExecutionPlanExpectation
-
- All Implemented Interfaces:
StructuralElementExpectationContainer
public final class ExecutionPlanExpectation extends java.lang.Object implements StructuralElementExpectationContainer
An expectation concerning anExecutionPlan
.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
- See Also:
ExecutionPlan
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ExecutionPlanExpectation.Builder
Builds instances of typeExecutionPlanExpectation
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExecutionPlanExpectation
build(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<ExecutionPlanExpectation.Builder> init)
Creates an immutable instance of ExecutionPlanExpectation.ExecutionPlanExpectation
copy(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<ExecutionPlanExpectation.Builder> init)
Creates an immutable copy of this instance.boolean
equals(java.lang.Object obj)
java.util.List<StructuralElementExpectation>
getChildren()
Returns the child expectations.int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getChildren
public java.util.List<StructuralElementExpectation> getChildren()
Description copied from interface:StructuralElementExpectationContainer
Returns the child expectations.- Specified by:
getChildren
in interfaceStructuralElementExpectationContainer
- Returns:
- The value of the
children
attribute
-
equals
@Pure public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
@Pure public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
@Pure public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
build
public static ExecutionPlanExpectation build(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<ExecutionPlanExpectation.Builder> init)
Creates an immutable instance of ExecutionPlanExpectation. The values can be initialized by using the init parameter.- Parameters:
init
- The initializer- Returns:
- An immutable ExecutionPlanExpectation instance
- Throws:
java.lang.IllegalStateException
- if any required attributes are missing
-
copy
public ExecutionPlanExpectation copy(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<ExecutionPlanExpectation.Builder> init)
Creates an immutable copy of this instance. Uses accessors to get values to initialize the new immutable instance. The values can be modified by using the init parameter.- Parameters:
init
- The initializer- Returns:
- A copied immutable ExecutionPlanExpectation instance
-
-