Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui
Class QSYSRemoteObjectMatcher

java.lang.Object
  extended by SystemRemoteObjectMatcher
      extended by com.ibm.etools.iseries.rse.ui.QSYSRemoteObjectMatcher

public class QSYSRemoteObjectMatcher
extends SystemRemoteObjectMatcher

This class encapsulates all the criteria required to identify a match on a remote iSeries system QSYS object. Specifically, any non-library object by default, although you can select to exclude file objects.

Use the static method getObjectTypeMatcher(boolean includeFiles) to get an default instance that matches on any object of any name of any type.

You only need to instantiate this class if you want to match on an object of a particular name or type or attribute.

See Also:
com.ibm.etools.systems.core.ui.view.ISystemRemoteElement

Field Summary
static String categoryWithFiles
           
static String categoryWithoutFiles
           
static String copyright
           
static boolean INCLUDEFILES_NO
           
static boolean INCLUDEFILES_YES
           
static QSYSRemoteObjectMatcher instWithFiles
           
static QSYSRemoteObjectMatcher instWithoutFiles
           
 
Constructor Summary
QSYSRemoteObjectMatcher(String nameFilter, String type, String attribute, boolean includeFiles)
          Constructor.
QSYSRemoteObjectMatcher(String nameFilter, String category, String type, String attribute)
          Constructor for categories other than OBJECTS
 
Method Summary
static QSYSRemoteObjectMatcher getObjectTypeMatcher(boolean includeFiles)
          Return an instance that will match on any object of any name or type or attribute.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

instWithFiles

public static QSYSRemoteObjectMatcher instWithFiles

instWithoutFiles

public static QSYSRemoteObjectMatcher instWithoutFiles

categoryWithFiles

public static final String categoryWithFiles
See Also:
Constant Field Values

categoryWithoutFiles

public static final String categoryWithoutFiles
See Also:
Constant Field Values

INCLUDEFILES_YES

public static final boolean INCLUDEFILES_YES
See Also:
Constant Field Values

INCLUDEFILES_NO

public static final boolean INCLUDEFILES_NO
See Also:
Constant Field Values
Constructor Detail

QSYSRemoteObjectMatcher

public QSYSRemoteObjectMatcher(String nameFilter,
                               String type,
                               String attribute,
                               boolean includeFiles)
Constructor. You only need to instantiate yourself if you want to match on an object of a particular name or type (eg, "*PGM") or attribute (eg, "RPG").

Otherwise, call getObjectTypeMatcher(boolean includeFiles).

Parameters:
includeFiles - pass true to match on all non-library object types including files, or pass false to exclude files.

QSYSRemoteObjectMatcher

public QSYSRemoteObjectMatcher(String nameFilter,
                               String category,
                               String type,
                               String attribute)
Constructor for categories other than OBJECTS

Method Detail

getObjectTypeMatcher

public static QSYSRemoteObjectMatcher getObjectTypeMatcher(boolean includeFiles)
Return an instance that will match on any object of any name or type or attribute.

Parameters:
includeFiles - pass true to match on all non-library object types including files, or pass false to exclude files.

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.