org.neovera.jdiablo.internal
Interface OptionPropertySpi
- All Superinterfaces:
- OptionProperty, OptionPropertyAccessor
- All Known Implementing Classes:
- OptionPropertyImpl
public interface OptionPropertySpi
- extends OptionProperty
Information about a property that is annotated as an option.
setPropertyName
void setPropertyName(String propertyName)
- Parameters:
propertyName - Name of the property
setSetterMethod
void setSetterMethod(Method setterMethod)
- Parameters:
setterMethod - Setter method for the property.
setOption
void setOption(Option option)
- Parameters:
option - Option annotation specified.
setValueInCommandLine
void setValueInCommandLine(boolean value)
- Parameters:
value - true to indicate value was provided in command line.
setOptionNotRequiredOverride
void setOptionNotRequiredOverride(boolean optionNotRequiredOverride)
- Parameters:
optionNotRequiredOverride - set to true to indicate that a value has been provided for this option
and hence the command-line option should be overridden to set it to not-required.
Copyright © 2014 Neovera Inc.. All rights reserved.