public class DiscoveryRule extends Object
| Constructor and Description |
|---|
DiscoveryRule() |
| Modifier and Type | Method and Description |
|---|---|
DiscoveryRule |
addCheckContentItem(String checkContentItem) |
boolean |
equals(Object o) |
List<String> |
getCheckContent()
匹配值。
|
String |
getCheckMode()
匹配条件。 contain、equals
|
String |
getCheckType()
匹配类型。 cmdLine、env、scope
|
int |
hashCode() |
void |
setCheckContent(List<String> checkContent) |
void |
setCheckMode(String checkMode) |
void |
setCheckType(String checkType) |
String |
toString() |
DiscoveryRule |
withCheckContent(java.util.function.Consumer<List<String>> checkContentSetter) |
DiscoveryRule |
withCheckContent(List<String> checkContent) |
DiscoveryRule |
withCheckMode(String checkMode) |
DiscoveryRule |
withCheckType(String checkType) |
public DiscoveryRule withCheckContent(List<String> checkContent)
public DiscoveryRule addCheckContentItem(String checkContentItem)
public DiscoveryRule withCheckContent(java.util.function.Consumer<List<String>> checkContentSetter)
public DiscoveryRule withCheckMode(String checkMode)
public String getCheckMode()
public void setCheckMode(String checkMode)
public DiscoveryRule withCheckType(String checkType)
public String getCheckType()
public void setCheckType(String checkType)
Copyright © 2022. All rights reserved.