public class Match extends Object
| Modifier and Type | Field and Description |
|---|---|
static MatchType |
DEFAULT_TYPE
The default value :
MatchType.EQUALS |
| Constructor and Description |
|---|
Match()
Default constructor
|
Match(JsonObject json)
Create an instance from a
JsonObject |
Match(Match other)
Copy constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias() |
MatchType |
getType() |
String |
getValue() |
Match |
setAlias(String alias)
Set the alias the human readable name that will be used as a part of
registry entry name when the value matches.
|
Match |
setType(MatchType type)
Set the type of matching to apply.
|
Match |
setValue(String value)
Set the matched value.
|
public static final MatchType DEFAULT_TYPE
MatchType.EQUALSpublic Match()
public Match(Match other)
other - The other Match to copy when creating thispublic Match(JsonObject json)
JsonObjectjson - the JsonObject to create it frompublic String getValue()
public Match setValue(String value)
value - the value to matchpublic MatchType getType()
public Match setType(MatchType type)
type - the matcher typepublic String getAlias()
Copyright © 2021 Eclipse. All rights reserved.