public class ProbeScopeSet extends ScopeSet
| Modifier and Type | Field and Description |
|---|---|
static int |
SCOPE_MATCHING_RULE_CUSTOM |
static int |
SCOPE_MATCHING_RULE_NONE
Matching Rule: matching true if no scope in list
|
static int |
SCOPE_MATCHING_RULE_RFC3986
Matching Rule: RFC 3986 Section 6.2.1 simple string comparison (default)
|
static int |
SCOPE_MATCHING_RULE_STRCMP0
Matching Rule: case-sensitive string comparison
|
strScopes, unknownAttributes, uriScopes| Constructor and Description |
|---|
ProbeScopeSet()
Constructor.
|
ProbeScopeSet(int matchByType)
Constructor.
|
ProbeScopeSet(int matchByType,
java.lang.String matchBy)
Constructor.
|
ProbeScopeSet(int matchByType,
java.lang.String[] scopes)
Constructor.
|
ProbeScopeSet(int matchByType,
java.lang.String matchBy,
java.lang.String[] scopes)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsAll(ScopeSet otherSet)
Checks if a given scope set is completely contained in this list.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getMatchBy()
Gets matching algorithm of this scope list.
|
int |
getMatchByType() |
int |
hashCode() |
boolean |
isContainedBy(ScopeSet otherSet)
Checks if a given scope set completely contains this list.
|
void |
setMatchBy(java.lang.String matchBy) |
void |
setMatchByType(int matchByType) |
java.lang.String |
toString() |
addAll, addScope, addScope, addUnknownAttribute, construct, contains, getScope, getScopesAsString, getScopesAsStringArray, getScopesAsUris, getUnknownAttribute, getUnknownAttributes, isEmpty, removeScope, removeScope, setScopes, sizepublic static final int SCOPE_MATCHING_RULE_RFC3986
public static final int SCOPE_MATCHING_RULE_STRCMP0
public static final int SCOPE_MATCHING_RULE_NONE
public static final int SCOPE_MATCHING_RULE_CUSTOM
public ProbeScopeSet()
public ProbeScopeSet(int matchByType,
java.lang.String matchBy)
matchBy - Matching Rulepublic ProbeScopeSet(int matchByType)
matchByType - Matching Rulepublic ProbeScopeSet(int matchByType,
java.lang.String matchBy,
java.lang.String[] scopes)
matchByType - Matching RulematchBy - Matching Rulescopes - list of scopespublic ProbeScopeSet(int matchByType,
java.lang.String[] scopes)
matchByType - Matching Rulescopes - list of scopespublic java.lang.String getMatchBy()
public void setMatchBy(java.lang.String matchBy)
matchBy - the matchBy to setpublic int getMatchByType()
public void setMatchByType(int matchByType)
public boolean isContainedBy(ScopeSet otherSet)
otherSet - public boolean containsAll(ScopeSet otherSet)
containsAll in class ScopeSetotherSet -