com.ibm.portal.resolver.data
Interface ProjectContextDataSource
- All Superinterfaces:
- Addressable, DataSource, DataSourceFragment, Disposable, TimeStamped
- All Known Implementing Classes:
- AbstractDataSource, AbstractStaticDataSource, EarlyBindingDataSource
-
public interface ProjectContextDataSource
- extends DataSource
Interface that may optionally be implemented by a DataSource to
indicate if the content of the data source depends on the currently selected
project.
- Since:
- 8.0
- Note:
This interface is designed to be implemented by clients. |
Field Summary
|
static java.lang.Boolean |
PROJECT_CONTEXT_UNKNOWN
the project dependency is unknown, let the framework decide |
Method Summary
|
java.lang.Boolean |
isProjectDependent()
Indicates if the data source depends on the project context (if any). |
PROJECT_CONTEXT_UNKNOWN
static final java.lang.Boolean PROJECT_CONTEXT_UNKNOWN
- the project dependency is unknown, let the framework decide
isProjectDependent
java.lang.Boolean isProjectDependent()
- Indicates if the data source depends on the project context (if any).
- Returns:
- Boolean.TRUE if the data source depends on the project
context, Boolean.FALSE if the data source does not depend
on the project context of PROJECT_CONTEXT_UNKNOWN to
leave the decision to the framework.