Annotation Type Parameter


  • @Retention(RUNTIME)
    @Target(FIELD)
    @Inherited
    public @interface Parameter
    Marks a field in an action as a parameter that can be specified at runtime.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String defaultValue
      Parameter's default value.
      java.lang.String description
      A short description of the parameter, that will be displayed in the TestProject Test.
      ParameterDirection direction
      Indicates whether the parameter is an input or output parameter.
      boolean optional
      Indicates this parameter is optional.
    • Element Detail

      • description

        java.lang.String description
        A short description of the parameter, that will be displayed in the TestProject Test.
        Returns:
        Parameter description.
        Default:
        ""
      • direction

        ParameterDirection direction
        Indicates whether the parameter is an input or output parameter.
        Returns:
        If parameter is input/output.
        Default:
        io.testproject.sdk.internal.addons.ParameterDirection.INPUT
      • defaultValue

        java.lang.String defaultValue
        Parameter's default value. This is optional and should be reinforced in code as well.
        Returns:
        Parameter default value.
        Default:
        ""
      • optional

        boolean optional
        Indicates this parameter is optional.
        Returns:
        If parameter is optional.
        Default:
        false