@Generated(value="config_generator.py") public class PreloadGraphConfig extends AbstractPreloadGraphConfig
| Modifier and Type | Class and Description |
|---|---|
static class |
PreloadGraphConfig.Field
Fields of Preloaded Graph Config
|
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
static PreloadGraphConfig.Field[] |
getConfigFields() |
java.lang.String |
getName()
prelodaded graph name
|
java.lang.String |
getPath()
uri to graph config file
|
java.util.Map<PreloadGraphConfig.Field,java.lang.Object> |
getValues()
Gets the parsed values.
|
java.util.Map<PreloadGraphConfig.Field,java.lang.Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
boolean |
hasDefaultValue(PreloadGraphConfig.Field field)
Checks for default value.
|
boolean |
isEmpty()
Checks if it's empty.
|
java.lang.Boolean |
isPublish()
whether or not this preloaded graph should be published.
|
java.lang.Boolean |
isPublishWithSnapshots()
whether or not this preloaded graph should be published together with its snapshots.
|
static PreloadGraphConfig |
parse(java.io.InputStream is,
boolean strict,
java.lang.String parentPath)
Parses an input stream.
|
static PreloadGraphConfig |
parse(java.util.Map<java.lang.String,java.lang.Object> raw,
boolean strict,
java.lang.String parentPath)
Parses a raw key/value mapping.
|
static PreloadGraphConfig |
parse(java.util.Properties props,
boolean strict)
Parses a properties file.
|
java.lang.String |
toString() |
java.lang.String |
toString(boolean hideSensitiveData) |
getDefault, getValueFromEnvironment, getValueFromEnvironment, parseString, setSerializablepublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic static PreloadGraphConfig.Field[] getConfigFields()
public java.lang.String getName()
public java.lang.String getPath()
public java.util.Map<PreloadGraphConfig.Field,java.lang.Object> getValues()
public java.util.Map<PreloadGraphConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public boolean hasDefaultValue(PreloadGraphConfig.Field field)
field - the fieldpublic boolean isEmpty()
public java.lang.Boolean isPublish()
isPublish in class AbstractPreloadGraphConfigpublic java.lang.Boolean isPublishWithSnapshots()
isPublishWithSnapshots in class AbstractPreloadGraphConfigpublic static PreloadGraphConfig parse(java.io.InputStream is, boolean strict, java.lang.String parentPath) throws java.io.IOException
is - the input streamstrict - if true, parses in strict modeparentPath - if not null, resolves relative paths against this parentPathjava.io.IOException - Signals that an I/O exception has occurred.public static PreloadGraphConfig parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)
raw - the raw key/value mapping to parsestrict - if true, parses in strict modeparentPath - if not null, resolves relative paths against this parentPathpublic static PreloadGraphConfig parse(java.util.Properties props, boolean strict)
props - the properties to parsestrict - if true, parses in strict modepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String toString(boolean hideSensitiveData)
Copyright © 2015 - 2020 Oracle and/or its affiliates. All Rights Reserved.