@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 |
---|---|
PlanKey |
parseChainKey(String chainKeyString)
Parse a chain key from the input string.
|
PlanKey |
parseJobKey(PlanKey chainKey,
String jobKeyString)
Parse a job key from the input string.
|
PlanKey |
parseJobKey(String jobKeyString)
Parse a job key from the input string.
|
@Autowired public InputParserImpl(com.atlassian.sal.api.message.I18nResolver i18nResolver)
@NotNull public PlanKey parseChainKey(@Nullable String chainKeyString)
parseChainKey
in interface InputParser
chainKeyString
- to parse.NotFoundException
- if the key is invalid.@NotNull public PlanKey parseJobKey(@Nullable String jobKeyString)
parseJobKey
in interface InputParser
jobKeyString
- to parse.NotFoundException
- if the key is invalid.@NotNull public PlanKey parseJobKey(@NotNull PlanKey chainKey, @Nullable String jobKeyString)
parseJobKey
in interface InputParser
chainKey
- of plan job key is for.jobKeyString
- to parse.NotFoundException
- if the key is invalid.Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.