|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.rse.core.SystemRemoteObjectMatcher
public class SystemRemoteObjectMatcher
This class encapsulates all the criteria required to identify a match on a remote system object, and the methods to determine if a given input meets that criteria.
The names given can be scalar or very simple generic (begin or end with an asterisk). Occasionally, as with iSeries objects types, an asterisk is a valid part of the name, as in *PGM. If "*PGM" is specified for the type filter, then it would match on other types too, like *SRVPGM. To solve this special case, users can specify the following to tell us that the asterisk is to be taken literally, versus as a leading or trailing wild card:
"%%ast.PGM" or "%%ast;PGM"
The special symbol "%%ast." is resolved into an asterisk as part of the literal name.
ISystemRemoteObjectMatchProvider
Field Summary | |
---|---|
static String |
STAR_SYMBOL
|
static int |
STAR_SYMBOL_LEN
|
static String |
STAR_SYMBOL2
|
Constructor Summary | |
---|---|
SystemRemoteObjectMatcher(String subsystemConfigurationId,
String categoryFilter,
String nameFilter,
String typeFilter,
String subtypeFilter,
String subsubtypeFilter)
Historical constructor that doesn't support "subsystemConfigurationCategory" or "systemTypes". |
|
SystemRemoteObjectMatcher(String subsystemConfigurationId,
String subsystemConfigurationCategoryFilter,
String categoryFilter,
String systemTypes,
String nameFilter,
String typeFilter,
String subtypeFilter,
String subsubtypeFilter)
Constructor that supports "subsystemConfigurationCategory" and "systemTypes". |
Method Summary | |
---|---|
boolean |
appliesTo(ISystemRemoteObjectMatchProvider adapter,
Object element)
Given an ISystemRemoteElement, return true if that element meets this criteria. |
protected boolean |
endsWithAsterisk(String name)
Helper method. |
String |
getCategoryFilter()
Getter method. |
String |
getNameFilter()
Getter method. |
String |
getSubSubTypeFilter()
Getter method. |
String |
getSubSystemConfigurationCategoryFilter()
Getter method. |
String |
getSubSystemConfigurationId()
Getter method. |
String |
getSubTypeFilter()
Getter method. |
String |
getSystemTypesFilter()
Getter method. |
String |
getTypeFilter()
Getter method. |
protected String |
resolveSymbols(String name)
Occasionally, as with iSeries objects types, an asterisk is a valid part of the name, as in *PGM. |
protected boolean |
startsWithAsterisk(String name)
Helper method. |
protected String |
stripLeadingAsterisk(String name)
Helper method. |
protected String |
stripTrailingAsterisk(String name)
Helper method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String STAR_SYMBOL
public static final String STAR_SYMBOL2
public static final int STAR_SYMBOL_LEN
Constructor Detail |
---|
public SystemRemoteObjectMatcher(String subsystemConfigurationId, String categoryFilter, String nameFilter, String typeFilter, String subtypeFilter, String subsubtypeFilter)
public SystemRemoteObjectMatcher(String subsystemConfigurationId, String subsystemConfigurationCategoryFilter, String categoryFilter, String systemTypes, String nameFilter, String typeFilter, String subtypeFilter, String subsubtypeFilter)
Method Detail |
---|
protected boolean startsWithAsterisk(String name)
protected boolean endsWithAsterisk(String name)
protected String stripLeadingAsterisk(String name)
protected String stripTrailingAsterisk(String name)
protected String resolveSymbols(String name)
"%%ast.PGM" or "%%ast;PGM"
The special symbol "%%ast." is resolved into an asterisk as part of the literal name.
public String getSubSystemConfigurationCategoryFilter()
public String getSystemTypesFilter()
public String getCategoryFilter()
public String getNameFilter()
public String getTypeFilter()
public String getSubTypeFilter()
public String getSubSubTypeFilter()
public String getSubSystemConfigurationId()
public boolean appliesTo(ISystemRemoteObjectMatchProvider adapter, Object element)
|
RSE Release 3.4 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |