public class

ListOptionDefinition

extends OptionDefinition
implements ITypedOptionDefinition
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.OptionDefinition
     ↳ com.pnfsoftware.jeb.core.ListOptionDefinition

Class Overview

Option based on a list of elements, represented as String values.

Summary

Public Constructors
ListOptionDefinition(String name, String defaultValue, String description, String... options)
Public Methods
String[] getOptions()
Optional additional options
ITypedOptionDefinition.Type getType()
Retrieve the type of the option
[Expand]
Inherited Methods
From class com.pnfsoftware.jeb.core.OptionDefinition
From class java.lang.Object
From interface com.pnfsoftware.jeb.core.IOptionDefinition
From interface com.pnfsoftware.jeb.core.ITypedOptionDefinition

Public Constructors

public ListOptionDefinition (String name, String defaultValue, String description, String... options)

Public Methods

public String[] getOptions ()

Optional additional options

Returns
  • The list of options to display

public ITypedOptionDefinition.Type getType ()

Retrieve the type of the option

Returns
  • the type