C D G H I O P R S V
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- com.lmax.simpledsl.api - package com.lmax.simpledsl.api
- com.lmax.simpledsl.internal - package com.lmax.simpledsl.internal
- create(String[], DslArg...) - Static method in interface com.lmax.simpledsl.api.DslParams
-
Create new
DslParams.
D
- DslArg - Interface in com.lmax.simpledsl.api
-
The base class for all arg types.
- DslParams - Interface in com.lmax.simpledsl.api
-
The main entry point for defining the DSL language.
- DslParamsParser - Class in com.lmax.simpledsl.internal
- DslParamsParser() - Constructor for class com.lmax.simpledsl.internal.DslParamsParser
- DslValues - Interface in com.lmax.simpledsl.api
-
Base class for value containers such as
DslParamsandRepeatingGroup.
G
- getAllowedValues() - Method in interface com.lmax.simpledsl.api.DslArg
-
Get the specific values that this argument will accept.
- getAllowedValues() - Method in class com.lmax.simpledsl.api.RepeatingArgGroup
- getAllowedValues() - Method in class com.lmax.simpledsl.api.SimpleDslArg
- getDefaultValue() - Method in interface com.lmax.simpledsl.api.DslArg
-
Get a default value for this argument.
- getDefaultValue() - Method in class com.lmax.simpledsl.api.RepeatingArgGroup
- getDefaultValue() - Method in class com.lmax.simpledsl.api.SimpleDslArg
- getIdentity() - Method in class com.lmax.simpledsl.api.RepeatingArgGroup
-
Get the
RequiredArgthat identifies thisRepeatingArgGroup. - getMultipleValueSeparator() - Method in interface com.lmax.simpledsl.api.DslArg
-
Get the separator that can be used to separate multiple values.
- getMultipleValueSeparator() - Method in class com.lmax.simpledsl.api.RepeatingArgGroup
- getMultipleValueSeparator() - Method in class com.lmax.simpledsl.api.SimpleDslArg
- getName() - Method in interface com.lmax.simpledsl.api.DslArg
-
Get the name of this argument.
- getName() - Method in class com.lmax.simpledsl.api.RepeatingArgGroup
- getName() - Method in class com.lmax.simpledsl.api.SimpleDslArg
- getOtherArgs() - Method in class com.lmax.simpledsl.api.RepeatingArgGroup
- getParams() - Method in interface com.lmax.simpledsl.api.DslValues
-
Get the supported parameters.
- getSingleRequiredParamValue(String[], String) - Static method in interface com.lmax.simpledsl.api.DslParams
-
A shorthand way to create a
DslParamsinstance that accepts a single required parameter and return the value that was supplied for that parameter.
H
- hasParam(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Determine if a parameter is defined.
- hasParamAndValue(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Determine if a parameter is defined and has a value.
- hasValue(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Determine if a value was supplied for a parameter.
I
- isAllowMultipleValues() - Method in interface com.lmax.simpledsl.api.DslArg
-
Check whether this argument can take multiple values.
- isAllowMultipleValues() - Method in class com.lmax.simpledsl.api.RepeatingArgGroup
- isAllowMultipleValues() - Method in class com.lmax.simpledsl.api.SimpleDslArg
- isRequired() - Method in interface com.lmax.simpledsl.api.DslArg
-
Determine if a value is required for this argument.
- isRequired() - Method in class com.lmax.simpledsl.api.RepeatingArgGroup
- isRequired() - Method in class com.lmax.simpledsl.api.SimpleDslArg
O
- OptionalArg - Class in com.lmax.simpledsl.api
-
An optional argument.
- OptionalArg(String) - Constructor for class com.lmax.simpledsl.api.OptionalArg
P
- parse(String[], DslArg...) - Method in class com.lmax.simpledsl.internal.DslParamsParser
R
- RepeatingArgGroup - Class in com.lmax.simpledsl.api
-
Define a group of arguments that can be repeated 0 or more times.
- RepeatingArgGroup(RequiredArg, SimpleDslArg...) - Constructor for class com.lmax.simpledsl.api.RepeatingArgGroup
- RepeatingGroup - Interface in com.lmax.simpledsl.api
-
Provides access to the values for a single instance of a
RepeatingArgGroup. - RequiredArg - Class in com.lmax.simpledsl.api
-
A required argument.
- RequiredArg(String) - Constructor for class com.lmax.simpledsl.api.RequiredArg
S
- setAllowedValues(Class<T>) - Method in class com.lmax.simpledsl.api.SimpleDslArg
-
Restrict the allowed values for this argument to the specified set.
- setAllowedValues(String...) - Method in class com.lmax.simpledsl.api.RequiredArg
- setAllowedValues(String...) - Method in class com.lmax.simpledsl.api.SimpleDslArg
-
Restrict the allowed values for this argument to the specified set.
- setAllowMultipleValues() - Method in class com.lmax.simpledsl.api.RequiredArg
- setAllowMultipleValues() - Method in class com.lmax.simpledsl.api.SimpleDslArg
-
Allow multiple values to be specified for this argument, either as separate arguments or using comma (,) as a delimiter.
- setAllowMultipleValues(String) - Method in class com.lmax.simpledsl.api.RequiredArg
- setAllowMultipleValues(String) - Method in class com.lmax.simpledsl.api.SimpleDslArg
-
Allow multiple values to be specified for this argument, either as separate arguments or using the specified string as a delimiter.
- setDefault(String) - Method in class com.lmax.simpledsl.api.RequiredArg
- setDefault(String) - Method in class com.lmax.simpledsl.api.SimpleDslArg
-
Set a default value for this argument.
- SimpleDslArg - Class in com.lmax.simpledsl.api
-
The root type for all simple args.
- SimpleDslArg(String, boolean) - Constructor for class com.lmax.simpledsl.api.SimpleDslArg
V
- value(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the value supplied for a parameter.
- valueAs(String, Class<T>) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the value supplied for a parameter, mapping it to the specified
Enum. - valueAs(String, Function<String, T>) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the value supplied for a parameter, mapping it using the specified
function. - valueAsBigDecimal(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the value supplied for a parameter as a
BigDecimal. - valueAsBoolean(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the value supplied for a parameter as a boolean.
- valueAsDouble(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the value supplied for a parameter as a
double. - valueAsInt(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the value supplied for a parameter as an int.
- valueAsLong(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the value supplied for a parameter as a long.
- valueAsOptional(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the value supplied for a parameter as an
Optional. - valueAsOptionalOf(String, Function<String, T>) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the value supplied for a parameter as an
Optional. - valueAsParam(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the value supplied for a parameter formatted as a parameter.
- valueAsParamNamed(String, String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the value supplied for a parameter formatted as a parameter with the given name.
- values(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the values supplied for a parameter as an array.
- valuesAs(String, Class<T>) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the values supplied for a parameter, mapping each provided value using the specified
functionand returning an array of these values. - valuesAs(String, Class<T>, Function<String, T>) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the values supplied for a parameter, mapping each provided value using the specified
functionand returning aStreamof these values. - valuesAs(String, Function<String, T>) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the values supplied for a parameter, mapping each provided value using the specified
functionand returning aStreamof these values. - valuesAsBigDecimals(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the values supplied for a parameter as a
BigDecimalarray. - valuesAsDoubles(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the values supplied for a parameter as a
doublearray. - valuesAsGroup(String) - Method in interface com.lmax.simpledsl.api.DslParams
-
Retrieve the set of values supplied for a
RepeatingArgGroupor an empty array if no values were supplied. - valuesAsInts(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the values supplied for a parameter as an
intarray. - valuesAsList(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the values supplied for a parameter as a
List. - valuesAsListOf(String, Function<String, T>) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the values supplied for a parameter as a
List. - valuesAsLongs(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the values supplied for a parameter as a
longarray. - valuesAsOptional(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the values supplied for a parameter as an
OptionalList. - valuesAsOptionalDouble(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the values supplied for a parameter as an
OptionalDouble. - valuesAsOptionalInt(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the values supplied for a parameter as an
OptionalInt. - valuesAsOptionalLong(String) - Method in interface com.lmax.simpledsl.api.DslValues
-
Retrieve the values supplied for a parameter as an
OptionalLong.
All Classes All Packages