org.neovera.jdiablo.internal.convert
Class CommandLineOptionValueFacets

java.lang.Object
  extended by org.neovera.jdiablo.internal.convert.CommandLineOptionValueFacets
All Implemented Interfaces:
OptionValueFacets

public class CommandLineOptionValueFacets
extends Object
implements OptionValueFacets

Exposes the supported value types of an option value from a given option of the provided command line


Constructor Summary
CommandLineOptionValueFacets(org.apache.commons.cli.CommandLine commandLine, Option option)
           
 
Method Summary
 Properties getOptionProperties()
           
 String getOptionValue()
           
 String[] getOptionValues()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandLineOptionValueFacets

public CommandLineOptionValueFacets(org.apache.commons.cli.CommandLine commandLine,
                                    Option option)
Parameters:
commandLine -
Method Detail

getOptionValue

public String getOptionValue()
Specified by:
getOptionValue in interface OptionValueFacets

getOptionValues

public String[] getOptionValues()
Specified by:
getOptionValues in interface OptionValueFacets

getOptionProperties

public Properties getOptionProperties()
Specified by:
getOptionProperties in interface OptionValueFacets


Copyright © 2014 Neovera Inc.. All rights reserved.