Skip to content
Garrett Serack edited this page May 1, 2014 · 1 revision

OptionType enumeration

public enum OptionType {
    String = 0,
    StringArray = 1,
    Int = 2,
    Switch = 3,
    Path = 4,
    Uri = 5
}

A Dynamic Option can specify the expected type of value

Value Purpose
String a string
StringArray and array of strings
Int an integer
Switch a boolean switch (when presented, the value will be true)
Path a file path
Uri an URI