Class FlameGraphTypeQueryParameter
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.MessageParameter<List<X>>
-
- org.apache.flink.runtime.rest.messages.MessageQueryParameter<FlameGraphTypeQueryParameter.Type>
-
- org.apache.flink.runtime.rest.messages.FlameGraphTypeQueryParameter
-
public class FlameGraphTypeQueryParameter extends MessageQueryParameter<FlameGraphTypeQueryParameter.Type>
Flame Graph type query parameter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFlameGraphTypeQueryParameter.TypeFlame Graph type.-
Nested classes/interfaces inherited from class org.apache.flink.runtime.rest.messages.MessageParameter
MessageParameter.MessageParameterRequisiteness
-
-
Constructor Summary
Constructors Constructor Description FlameGraphTypeQueryParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FlameGraphTypeQueryParameter.TypeconvertStringToValue(String value)Converts the given string to a valid value of this parameter.StringconvertValueToString(FlameGraphTypeQueryParameter.Type value)Converts the given value to its string representation.StringgetDescription()Returns a description for REST API HTML documentation.-
Methods inherited from class org.apache.flink.runtime.rest.messages.MessageQueryParameter
convertFromString, convertToString
-
Methods inherited from class org.apache.flink.runtime.rest.messages.MessageParameter
getKey, getValue, isMandatory, isResolved, resolve, resolveFromString
-
-
-
-
Field Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
convertStringToValue
public FlameGraphTypeQueryParameter.Type convertStringToValue(String value)
Description copied from class:MessageQueryParameterConverts the given string to a valid value of this parameter.- Specified by:
convertStringToValuein classMessageQueryParameter<FlameGraphTypeQueryParameter.Type>- Parameters:
value- string representation of parameter value- Returns:
- parameter value
-
convertValueToString
public String convertValueToString(FlameGraphTypeQueryParameter.Type value)
Description copied from class:MessageQueryParameterConverts the given value to its string representation.- Specified by:
convertValueToStringin classMessageQueryParameter<FlameGraphTypeQueryParameter.Type>- Parameters:
value- parameter value- Returns:
- string representation of typed value
-
getDescription
public String getDescription()
Description copied from class:MessageParameterReturns a description for REST API HTML documentation.- Specified by:
getDescriptionin classMessageParameter<List<FlameGraphTypeQueryParameter.Type>>- Returns:
- escaped HTML string
-
-