@Generated(value="config_generator.py") public class PgxRedactionRulesConfig extends AbstractConfig
Modifier and Type | Class and Description |
---|---|
static class |
PgxRedactionRulesConfig.Field
Fields of Pgx Redaction Rules
|
ENV_SEPARATOR, ENV_VARIABLE_PREFIX, SYSTEM_PROPERTY_PREFIX
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
static PgxRedactionRulesConfig.Field[] |
getConfigFields() |
java.lang.String |
getLabel()
Vertex / Edge label to which the rule is applied
|
java.util.Map<java.lang.String,java.lang.Object> |
getLeftoverValues()
Gets the values that do not belong to any field.
|
java.util.List<java.lang.String> |
getProperties()
List of properties to be redacted
|
java.lang.String |
getRedactEdge()
Trigger expression for redacting edges
|
java.util.List<PropertiesRedactionRuleConfig> |
getRedactEdgeProperties()
Rules for redacting edge properties
|
java.util.List<PgxRedactionRuleConfig> |
getRedactionRules()
desc redaction_rules
|
java.lang.String |
getRedactVertex()
Trigger expression for redacting vertices
|
java.util.List<PropertiesRedactionRuleConfig> |
getRedactVertexProperties()
Rules for redacting vertex properties
|
java.lang.String |
getRuleName()
Name of the redaction rule
|
java.lang.String |
getRuleTrigger()
Trigger expression for the rule
|
java.util.Map<PgxRedactionRulesConfig.Field,java.lang.Object> |
getValues()
Gets the parsed values.
|
java.util.Map<PgxRedactionRulesConfig.Field,java.lang.Object> |
getValuesWithoutDefaults()
Gets the values without defaults.
|
boolean |
hasDefaultValue(PgxRedactionRulesConfig.Field field)
Checks for default value.
|
boolean |
isEmpty()
Checks if it's empty.
|
static PgxRedactionRulesConfig |
parse(java.io.InputStream is, boolean strict, java.lang.String parentPath)
Parses an input stream.
|
static PgxRedactionRulesConfig |
parse(java.util.Map<java.lang.String,java.lang.Object> raw, boolean strict, java.lang.String parentPath)
Parses a raw key/value mapping.
|
static PgxRedactionRulesConfig |
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, setSerializable
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static PgxRedactionRulesConfig.Field[] getConfigFields()
public java.lang.String getLabel()
public java.util.Map<java.lang.String,java.lang.Object> getLeftoverValues()
public java.util.List<java.lang.String> getProperties()
public java.lang.String getRedactEdge()
public java.util.List<PropertiesRedactionRuleConfig> getRedactEdgeProperties()
public java.util.List<PgxRedactionRuleConfig> getRedactionRules()
public java.lang.String getRedactVertex()
public java.util.List<PropertiesRedactionRuleConfig> getRedactVertexProperties()
public java.lang.String getRuleName()
public java.lang.String getRuleTrigger()
public java.util.Map<PgxRedactionRulesConfig.Field,java.lang.Object> getValues()
public java.util.Map<PgxRedactionRulesConfig.Field,java.lang.Object> getValuesWithoutDefaults()
public boolean hasDefaultValue(PgxRedactionRulesConfig.Field field)
field
- the fieldpublic boolean isEmpty()
public static PgxRedactionRulesConfig 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 PgxRedactionRulesConfig 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 PgxRedactionRulesConfig 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.Object
public java.lang.String toString(boolean hideSensitiveData)
Copyright © 2010, 2020 Oracle and/or its affiliates. All Rights Reserved.