public final class SettingSearchInfo extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
SettingSearchInfo.MatchKind |
| Modifier and Type | Method and Description |
|---|---|
static SettingSearchInfo |
create() |
String |
getName() |
SettingSearchInfo.MatchKind |
getNameMatchkind() |
String |
getSection() |
SettingSearchInfo.MatchKind |
getSectionMatchkind() |
boolean |
isLong() |
boolean |
isValid() |
SettingSearchInfo |
longSetting(boolean longSetting)
Whether to search for long or for regular settings.
|
SettingSearchInfo |
name(String name,
SettingSearchInfo.MatchKind matchKind)
Sets the name to search for and the match kind to search with.
|
SettingSearchInfo |
section(String section,
SettingSearchInfo.MatchKind matchKind)
Sets the section to search for and the match kind to search with.
|
String |
toString() |
public static SettingSearchInfo create()
SettingSearchInfopublic SettingSearchInfo name(String name, SettingSearchInfo.MatchKind matchKind)
name - name to search formatchKind - match-kind for the given setting nameSettingSearchInfo instancepublic SettingSearchInfo section(String section, SettingSearchInfo.MatchKind matchKind)
section - section to search formatchKind - match-kind for the given section nameSettingSearchInfo instancepublic SettingSearchInfo longSetting(boolean longSetting)
longSetting - if true, search will be performed to long settingsSettingSearchInfo instancepublic String getName()
public SettingSearchInfo.MatchKind getNameMatchkind()
public String getSection()
public SettingSearchInfo.MatchKind getSectionMatchkind()
public boolean isLong()
public boolean isValid()
SettingSearchInfo, which means that either name
or section contain a value that is not null or empty.Copyright © 2020 Hyland Software Germany GmbH. All rights reserved.