Package jetbrains.buildServer.serverSide
Class MockParameter
- java.lang.Object
-
- jetbrains.buildServer.serverSide.BaseParameter
-
- jetbrains.buildServer.serverSide.MockParameter
-
- All Implemented Interfaces:
Comparable<Parameter>
,Parameter
public class MockParameter extends BaseParameter
Created by Andrey Titov on 13.04.16.
-
-
Field Summary
-
Fields inherited from class jetbrains.buildServer.serverSide.BaseParameter
myDescription, myName, myValue
-
-
Constructor Summary
Constructors Constructor Description MockParameter(String name, String value)
MockParameter(String name, String value, String spec)
MockParameter(String name, String value, ControlDescription description)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
areSame(Parameter parameter1, Parameter parameter2)
protected String
getCompareValue()
static String
toString(Parameter parameter)
-
Methods inherited from class jetbrains.buildServer.serverSide.BaseParameter
compareTo, equals, getControlDescription, getName, getValue, hashCode, isConfigParameter, isEnvironmentVariable, isEnvironmentVariable, isSystemProperty, isSystemProperty, toString
-
-
-
-
Method Detail
-
getCompareValue
@NotNull protected String getCompareValue()
- Specified by:
getCompareValue
in classBaseParameter
- Returns:
- internal value used to check parameter equality
-
areSame
public static boolean areSame(@Nullable Parameter parameter1, @Nullable Parameter parameter2)
-
-