@Test public void checkDoesNotMatchOtherResourceTypes() { final Path path = mock(Path.class); when(path.getFileName()).thenReturn("file.smurf"); assertFalse(helper.supports(path)); }
@Override public boolean supports( final Path path ) { return resourceType.accept( path ); }
AbstractInvalidateDMOPackageCacheDeleteHelper implements DeleteHelper { @Override public boolean supports( final Path path ) { return resourceType.accept( path ); } }
AbstractInvalidateDMOPackageCacheDeleteHelper implements DeleteHelper { @Override public boolean supports( final Path path ) { return resourceType.accept( path ); } AbstractInvalidateDMOPackageCacheDeleteHelper( final T resourceType,
                                                          final Event<InvalidateDMOPackageCacheEvent> invalidateDMOPackageCache ); }
AbstractInvalidateDMOPackageCacheDeleteHelper implements DeleteHelper { @Override public boolean supports( final Path path ) { return resourceType.accept( path ); } AbstractInvalidateDMOPackageCacheDeleteHelper( final T resourceType,
                                                          final Event<InvalidateDMOPackageCacheEvent> invalidateDMOPackageCache ); @Override boolean supports( final Path path ); @Override void postProcess( final Path path ); }
AbstractInvalidateDMOPackageCacheDeleteHelper implements DeleteHelper { @Override public boolean supports( final Path path ) { return resourceType.accept( path ); } AbstractInvalidateDMOPackageCacheDeleteHelper( final T resourceType,
                                                          final Event<InvalidateDMOPackageCacheEvent> invalidateDMOPackageCache ); @Override boolean supports( final Path path ); @Override void postProcess( final Path path );  }