Interface ProjectResourceListener
-
- All Known Subinterfaces:
DesignerProjectResourceListener
- All Known Implementing Classes:
AbstractClientContext.ClientContextResourceListener
,LastProjectUpdateTag
,PaletteImpl
,PendingUpdateState
,SingleProjectResourceListener
,SuppressibleProjectResourceListener
public interface ProjectResourceListener
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ResourceFilter
getResourceFilter()
Get theResourceFilter
used to filter resources this listener cares about.default void
manifestChanged(java.lang.String projectName, java.util.List<ChangeOperation.ManifestChangeOperation> operation)
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)
}.default void
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)
}.void
resourcesCreated(java.lang.String projectName, java.util.List<ChangeOperation.CreateResourceOperation> resources)
void
resourcesDeleted(java.lang.String projectName, java.util.List<ChangeOperation.DeleteResourceOperation> signatures)
void
resourcesModified(java.lang.String projectName, java.util.List<ChangeOperation.ModifyResourceOperation> resources)
-
-
-
Method Detail
-
onBeforeChanges
default void 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(java.lang.String projectName, java.util.List<ChangeOperation.ManifestChangeOperation> operation)
-
resourcesCreated
void resourcesCreated(java.lang.String projectName, java.util.List<ChangeOperation.CreateResourceOperation> resources)
-
resourcesModified
void resourcesModified(java.lang.String projectName, java.util.List<ChangeOperation.ModifyResourceOperation> resources)
-
resourcesDeleted
void resourcesDeleted(java.lang.String projectName, java.util.List<ChangeOperation.DeleteResourceOperation> signatures)
-
getResourceFilter
@Nonnull default ResourceFilter 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.
-
-