Class Cnf
java.lang.Object
ecmwf.common.technical.Cnf
-
Method Summary
Modifier and TypeMethodDescriptionAt.static String
At.static boolean
At.static int
At.static long
At.static short
At.static String
At.At.static Boolean
Boolean object at.static long
durationAt
(String group, String key, long defaultValue) Duration at.static String
fileContentAt
(String group, String key, String defaultContent) File content at.static Properties
Gets the added properties.static String[]
getCommand
(String group, String key, String... parameters) Gets the command.Gets the export.static Properties
Gets the system properties.static Date
Get current date with the time specified.static String
Gets the value.static boolean
Checks for.Values at.List at.listOfTimeRangesAt
(String group, String key) Get the list of periods of time.static String
notEmptyStringAt
(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 Date
Time at.static String
Values of.static String
Values of.static String
Values 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
-