@Component public class InputParserImpl extends Object implements InputParser
Constructor and Description |
---|
InputParserImpl(com.atlassian.sal.api.message.I18nResolver i18nResolver) |
Modifier and Type | Method and Description |
---|---|
@NotNull PlanKey |
parseChainKey(@Nullable String chainKeyString)
Parse a chain key from the input string.
|
@NotNull PlanKey |
parseJobKey(@NotNull PlanKey chainKey,
@Nullable String jobKeyString)
Parse a job key from the input string.
|
@NotNull PlanKey |
parseJobKey(@Nullable String jobKeyString)
Parse a job key from the input string.
|
@Autowired public InputParserImpl(com.atlassian.sal.api.message.I18nResolver i18nResolver)
@NotNull public @NotNull PlanKey parseChainKey(@Nullable @Nullable String chainKeyString)
parseChainKey
in interface InputParser
chainKeyString
- to parse.NotFoundException
- if the key is invalid.@NotNull public @NotNull PlanKey parseJobKey(@Nullable @Nullable String jobKeyString)
parseJobKey
in interface InputParser
jobKeyString
- to parse.NotFoundException
- if the key is invalid.@NotNull public @NotNull PlanKey parseJobKey(@NotNull @NotNull PlanKey chainKey, @Nullable @Nullable String jobKeyString)
parseJobKey
in interface InputParser
chainKey
- of plan job key is for.jobKeyString
- to parse.NotFoundException
- if the key is invalid.Copyright © 2022 Atlassian Software Systems Pty Ltd. All rights reserved.