|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The IArtifactFilterFactory
provides a factory for creating
IArtifactFilter
or derived instances.
This interface is not intended to be implemented by clients.
IArtifactManager
,
IArtifactFilter
,
IArtifactAttributeFilter
,
ICaseSensitiveArtifactFilter
Method Summary | |
IArtifactFilter |
createArtifactFilter(Artifact theArtifact)
Creates an IArtifactFilter that provides the ability to
filter for a particular Arifact instance. |
IArtifactAttributeFilter |
createAttributeFilter(String methodName,
Object filterObject)
Creates the IArtifactAttributeFilter with name of the
method to invoke on the Artifact and an
Object to filter for. |
IArtifactAttributeFilter |
createStringAttributeFilter(String methodName,
String filterString,
boolean caseSensitive)
Creates the IArtifactAttributeFilter with name of the
method to invoke on the Artifact , a String
to filter for and a case sensitivity setting. |
Method Detail |
public IArtifactAttributeFilter createAttributeFilter(String methodName, Object filterObject) throws SecurityException, NullPointerException, NoSuchMethodException
IArtifactAttributeFilter
with name of the
method to invoke on the Artifact
and an
Object
to filter for.
methodName
- the name of the method to invoke on the Artifact
filterObject
- the Object
that is used to compare against
during the filtering process. It can be null
IArtifactAttributeFilter
instance
NoSuchMethodException
- -
if a matching method is not found or if the
methodName is "" or "".
NullPointerException
- -
if method name is null
SecurityException
- -
if access to the information is denied.
public IArtifactAttributeFilter createStringAttributeFilter(String methodName, String filterString, boolean caseSensitive) throws SecurityException, NullPointerException, NoSuchMethodException
IArtifactAttributeFilter
with name of the
method to invoke on the Artifact
, a String
to filter for and a case sensitivity setting.
methodName
- the name of the method to invoke on the Artifact
filterString
- the String
that is used to compare against
during the filtering process. It can be null
caseSensitive
- indicates if the filter should operate in a case sensitive
manner
IArtifactAttributeFilter
instance
NoSuchMethodException
- -
if a matching method is not found or if the
methodName is "" or "".
NullPointerException
- -
if method name is null
SecurityException
- -
if access to the information is denied.
public IArtifactFilter createArtifactFilter(Artifact theArtifact) throws IllegalArgumentException
IArtifactFilter
that provides the ability to
filter for a particular Arifact
instance.
theArtifact
- to filter for
IArtifactAttributeFilter
instance
IllegalArgumentException
- if theArtifact
is null
|
IBM Rational Software Modeler Release 6.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2004. All rights reserved.