|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.core.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.
ISystemRemoteElementAdapter
Field Summary | |
---|---|
static String |
copyright
|
static String |
STAR_SYMBOL
|
static int |
STAR_SYMBOL_LEN
|
static String |
STAR_SYMBOL2
|
Constructor Summary | |
---|---|
SystemRemoteObjectMatcher(String subsystemFactoryId,
String categoryFilter,
String nameFilter,
String typeFilter,
String subtypeFilter,
String subsubtypeFilter)
Historical constructor that doesn't support "subsystemFactoryCategory" or "systemtypes". |
|
SystemRemoteObjectMatcher(String subsystemFactoryId,
String subsystemFactoryCategoryFilter,
String categoryFilter,
String systemTypes,
String nameFilter,
String typeFilter,
String subtypeFilter,
String subsubtypeFilter)
Constructor that supports "subsystemFactoryCategory" and "systemtypes". |
Method Summary | |
---|---|
boolean |
appliesTo(ISystemRemoteElementAdapter 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 |
getSubSystemFactoryCategoryFilter()
Getter method. |
String |
getSubSystemFactoryId()
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 copyright
public static final String STAR_SYMBOL
public static final String STAR_SYMBOL2
public static final int STAR_SYMBOL_LEN
Constructor Detail |
public SystemRemoteObjectMatcher(String subsystemFactoryId, String categoryFilter, String nameFilter, String typeFilter, String subtypeFilter, String subsubtypeFilter)
public SystemRemoteObjectMatcher(String subsystemFactoryId, String subsystemFactoryCategoryFilter, 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 getSubSystemFactoryCategoryFilter()
public String getSystemTypesFilter()
public String getCategoryFilter()
public String getNameFilter()
public String getTypeFilter()
public String getSubTypeFilter()
public String getSubSubTypeFilter()
public String getSubSystemFactoryId()
public boolean appliesTo(ISystemRemoteElementAdapter adapter, Object element)
|
Remote Systems v6.4.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |