public interface IResourceObserver
IReport
.
Copyright (c) SAP AG 2003-2005
Modifier and Type | Method and Description |
---|---|
void |
endCollection(ICollection col)
Invoked when traversal of a collection was finished.
|
boolean |
isStillListening()
Signals that any further invocations of
startCollection(ICollection) ,
endCollection(ICollection) and observe(IResource) will have
no effect. |
void |
observe(IResource resource)
Invoked when a resource is to be inspected.
|
void |
observeError(RID rid,
String message,
Throwable t) |
boolean |
startCollection(ICollection col)
Invoked before a collection is entered.
|
boolean isStillListening()
startCollection(ICollection)
,
endCollection(ICollection)
and observe(IResource)
will have
no effect.true
if the observer is still interested in more resources
to be observed.boolean startCollection(ICollection col) throws ResourceException, InterruptedException
col
- collection being enteredtrue
if and only if collection should be traversed.ResourceException
- when execution should be abortedInterruptedException
void endCollection(ICollection col) throws ResourceException, InterruptedException
col
- collection being enteredResourceException
- when execution should be abortedInterruptedException
void observe(IResource resource) throws ResourceException, InterruptedException
resource
- the IResource
being inspected. Note: do not rely on
IResource.isCollection()
returning true
for internal links
to collections.ResourceException
- when execution should be aborted (in general, most exceptions should be caught
and recorded)InterruptedException
- if execution was explicitly abortedvoid observeError(RID rid, String message, Throwable t) throws ResourceException, InterruptedException
rid
- The rid to the reource where the error occuredmessage
- An error messaget
- The exception that was caughtResourceException
InterruptedException
Access Rights |
---|
SC | DC | Public Part | ACH |
---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
Copyright 2018 SAP AG Complete Copyright Notice