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:
  • Constructor Details

    • ExecutionProperty

      public ExecutionProperty(String executionCommand)
  • Method Details

    • 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
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getExecutionCommand

      public final String getExecutionCommand()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object