Class Cnf
java.lang.Object
ecmwf.common.technical.Cnf
-
Method Summary
Modifier and TypeMethodDescriptionAt.static StringAt.static booleanAt.static intAt.static longAt.static shortAt.static StringAt.At.static BooleanBoolean object at.static longdurationAt(String group, String key, long defaultValue) Duration at.static StringfileContentAt(String group, String key, String defaultContent) File content at.static PropertiesGets the added properties.static String[]getCommand(String group, String key, String... parameters) Gets the command.Gets the export.static PropertiesGets the system properties.static DateGet current date with the time specified.static StringGets the value.static booleanChecks for.Values at.List at.listOfTimeRangesAt(String group, String key) Get the list of periods of time.static StringnotEmptyStringAt(String group, String key, String defaultValue) Not empty string at.static String[]stringListAt(String group, String key) String list at.static String[]stringListAt(String group, String key, String... defaults) Strings at.static DateTime at.static StringValues of.static StringValues of.static StringValues of.
-
Method Details
-
at
-
has
Checks for.- Parameters:
group- the group- Returns:
- true, if successful
-
at
-
valuesOf
-
valuesOf
-
valuesOf
public static String valuesOf(Map<String, String> values, UnaryOperator<String> processor, String... privateFields) Values of.- Parameters:
values- the input valuesprocessor- the processorprivateFields- the regex pattern of all private fields to process with the processor- Returns:
- the result string
-
at
-
at
-
at
-
fileContentAt
-
keysAt
-
listAt
-
listOfTimeRangesAt
-
stringListAt
-
stringListAt
-
at
-
booleanAt
-
getCommand
-
getAddedProperties
Gets the added properties. Allow being compatible with JBoss. The signature should not be changed!- Returns:
- the added properties
-
getExport
-
getSystemProperties
Gets the system properties. Allow being compatible with JBoss. The signature should not be changed!- Returns:
- the system properties
-
at
-
at
-
getTime
-
timeAt
-
durationAt
-
notEmptyStringAt
-
getValue
-