Interface ResourceListener
- All Known Subinterfaces:
DesignerProjectResourceListener
- All Known Implementing Classes:
AbstractClientContext.ClientContextResourceListener
,LastProjectUpdateTag
,PaletteImpl
,PendingUpdateState
,ResourceAdapter
,SingleResourceListener
,SuppressibleResourceListener
public interface ResourceListener
-
Method Summary
Modifier and TypeMethodDescriptiondefault ResourceFilter
Get theResourceFilter
used to filter resources this listener cares about.default void
manifestChanged
(String collectionName, List<ChangeOperation.ManifestChangeOperation> operation) default void
Called after a set of change operations is applied, which may result in multiple calls to toresourcesCreated(String, List)
,resourcesModified(String, List)
, andresourcesDeleted(String, List)
}.default void
onBeforeChanges
(ResourceChangeContext context) Called before a set of change operations is applied, which may result in multiple calls toresourcesCreated(String, List)
,resourcesModified(String, List)
, andresourcesDeleted(String, List)
}.void
resourcesCreated
(String collectionName, List<ChangeOperation.CreateResourceOperation> resources) void
resourcesDeleted
(String collectionName, List<ChangeOperation.DeleteResourceOperation> signatures) void
resourcesModified
(String collectionName, List<ChangeOperation.ModifyResourceOperation> resources)
-
Method Details
-
onBeforeChanges
Called before a set of change operations is applied, which may result in multiple calls toresourcesCreated(String, List)
,resourcesModified(String, List)
, andresourcesDeleted(String, List)
}. -
onAfterChanges
default void onAfterChanges()Called after a set of change operations is applied, which may result in multiple calls to toresourcesCreated(String, List)
,resourcesModified(String, List)
, andresourcesDeleted(String, List)
}. -
manifestChanged
default void manifestChanged(String collectionName, List<ChangeOperation.ManifestChangeOperation> operation) -
resourcesCreated
void resourcesCreated(String collectionName, List<ChangeOperation.CreateResourceOperation> resources) -
resourcesModified
void resourcesModified(String collectionName, List<ChangeOperation.ModifyResourceOperation> resources) -
resourcesDeleted
void resourcesDeleted(String collectionName, List<ChangeOperation.DeleteResourceOperation> signatures) -
getResourceFilter
Get theResourceFilter
used to filter resources this listener cares about. Default is to care about all resources.- Returns:
- the
ResourceFilter
used to filter resources this listener cares about.
-