Class ExecutionProperty
- java.lang.Object
-
- org.springframework.cloud.contract.spec.internal.ExecutionProperty
-
- All Implemented Interfaces:
Serializable
public class ExecutionProperty extends Object implements Serializable
Represents a property that will become an executable method in the generated tests.- Since:
- 1.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExecutionProperty(String executionCommand)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetExecutionCommand()inthashCode()StringinsertValue(String valueToInsert)Inserts the provided code as a parameter to the method and returns the code that represents that method execution.StringtoString()
-
-
-
Constructor Detail
-
ExecutionProperty
public ExecutionProperty(String executionCommand)
-
-
Method Detail
-
insertValue
public String insertValue(String valueToInsert)
Inserts the provided code as a parameter to the method and returns the code that represents that method execution.- Parameters:
valueToInsert- value to insert into the string- Returns:
- string with inserted value
-
getExecutionCommand
public final String getExecutionCommand()
-
-