Class TaskManagerIdPathParameter
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.MessageParameter<X>
-
- org.apache.flink.runtime.rest.messages.MessagePathParameter<ResourceID>
-
- org.apache.flink.runtime.rest.messages.taskmanager.TaskManagerIdPathParameter
-
public class TaskManagerIdPathParameter extends MessagePathParameter<ResourceID>
TaskManager id path parameter used by TaskManager related handlers.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.runtime.rest.messages.MessageParameter
MessageParameter.MessageParameterRequisiteness
-
-
Constructor Summary
Constructors Constructor Description TaskManagerIdPathParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ResourceIDconvertFromString(String value)Converts the given string to a valid value of this parameter.protected StringconvertToString(ResourceID 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.MessageParameter
getKey, getValue, isMandatory, isResolved, resolve, resolveFromString
-
-
-
-
Field Detail
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
convertFromString
protected ResourceID convertFromString(String value)
Description copied from class:MessageParameterConverts the given string to a valid value of this parameter.- Specified by:
convertFromStringin classMessageParameter<ResourceID>- Parameters:
value- string representation of parameter value- Returns:
- parameter value
-
convertToString
protected String convertToString(ResourceID value)
Description copied from class:MessageParameterConverts the given value to its string representation.- Specified by:
convertToStringin classMessageParameter<ResourceID>- 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<ResourceID>- Returns:
- escaped HTML string
-
-