Class SubtaskAttemptPathParameter
- java.lang.Object
-
- org.apache.flink.runtime.rest.messages.MessageParameter<X>
-
- org.apache.flink.runtime.rest.messages.MessagePathParameter<Integer>
-
- org.apache.flink.runtime.rest.messages.job.SubtaskAttemptPathParameter
-
public class SubtaskAttemptPathParameter extends MessagePathParameter<Integer>
Path parameter identifying subtask attempt.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.runtime.rest.messages.MessageParameter
MessageParameter.MessageParameterRequisiteness
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSubtaskAttemptPathParameter()Instantiates a new Subtask attempt path parameter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IntegerconvertFromString(String value)Converts the given string to a valid value of this parameter.protected StringconvertToString(Integer 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
The constant subtask attempt KEY.- See Also:
- Constant Field Values
-
-
Method Detail
-
convertFromString
protected Integer convertFromString(String value) throws ConversionException
Description copied from class:MessageParameterConverts the given string to a valid value of this parameter.- Specified by:
convertFromStringin classMessageParameter<Integer>- Parameters:
value- string representation of parameter value- Returns:
- parameter value
- Throws:
ConversionException
-
convertToString
protected String convertToString(Integer value)
Description copied from class:MessageParameterConverts the given value to its string representation.- Specified by:
convertToStringin classMessageParameter<Integer>- 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<Integer>- Returns:
- escaped HTML string
-
-