public class ArgumentContainerDescriptorImpl extends Object implements ArgumentContainerDescriptor
Constructor and Description |
---|
ArgumentContainerDescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
Optional<ArgumentDescriptor<?>> |
getArgumentDescriptor(String argumentName) |
Map<String,ArgumentDescriptor<?>> |
getArgumentDescriptors() |
MultiValueArgumentDescriptor |
hasMultiValueArgument(String argumentName)
Returns a
MultiValueArgumentDescriptor instance which can be used to describe an argument which holds multiple values,
separated with a separator like comma, colon, etc. |
SingleValueArgumentDescriptor |
hasSingleValueArgument(String argumentName)
Returns a
SingleValueArgumentDescriptor instance which can be used to describe an argument which holds only a single value. |
public SingleValueArgumentDescriptor hasSingleValueArgument(String argumentName)
ArgumentContainerDescriptor
SingleValueArgumentDescriptor
instance which can be used to describe an argument which holds only a single value.hasSingleValueArgument
in interface ArgumentContainerDescriptor
argumentName
- the name of the argument which is being described.SingleValueArgumentDescriptor
instance.public MultiValueArgumentDescriptor hasMultiValueArgument(String argumentName)
ArgumentContainerDescriptor
MultiValueArgumentDescriptor
instance which can be used to describe an argument which holds multiple values,
separated with a separator like comma, colon, etc.hasMultiValueArgument
in interface ArgumentContainerDescriptor
argumentName
- the name of the argument which is being described.MultiValueArgumentDescriptor
instance.public Optional<ArgumentDescriptor<?>> getArgumentDescriptor(String argumentName)
public Map<String,ArgumentDescriptor<?>> getArgumentDescriptors()
Copyright © 2022. All rights reserved.