Class TestParameterExpectation
- java.lang.Object
-
- de.bmiag.tapir.executiontest.expectation.plan.TestParameterExpectation
-
public final class TestParameterExpectation extends java.lang.Object
An expectation concerning aTestParameter
.- Since:
- 2.0.0
- Author:
- Oliver Libutzki <[email protected]>
- See Also:
TestParameter
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestParameterExpectation.Builder
Builds instances of typeTestParameterExpectation
.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TestParameterExpectation
build(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestParameterExpectation.Builder> init)
Creates an immutable instance of TestParameterExpectation.TestParameterExpectation
copy(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestParameterExpectation.Builder> init)
Creates an immutable copy of this instance.boolean
equals(java.lang.Object obj)
java.lang.String
getName()
java.lang.Object
getValue()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Returns:
- The value of the
name
attribute
-
getValue
public java.lang.Object getValue()
- Returns:
- The value of the
value
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 TestParameterExpectation build(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestParameterExpectation.Builder> init)
Creates an immutable instance of TestParameterExpectation. The values can be initialized by using the init parameter.- Parameters:
init
- The initializer- Returns:
- An immutable TestParameterExpectation instance
- Throws:
java.lang.IllegalStateException
- if any required attributes are missing
-
copy
public TestParameterExpectation copy(org.eclipse.xtext.xbase.lib.Procedures.Procedure1<TestParameterExpectation.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 TestParameterExpectation instance
-
-