Guvnor - Services API 6.1.0.Beta3

org.guvnor.common.services.backend.file
Interface CopyHelper


public interface CopyHelper

Helper for when a file is copied. Helpers are always invoked after the copy occurred.


Method Summary
 void postProcess(org.uberfire.backend.vfs.Path source, org.uberfire.backend.vfs.Path destination)
          Perform post processing following the copy operation.
 boolean supports(org.uberfire.backend.vfs.Path destination)
          This is invoked by parent code to provide the means for a Helper to signal whether it supports the given Path
 

Method Detail

supports

boolean supports(org.uberfire.backend.vfs.Path destination)
This is invoked by parent code to provide the means for a Helper to signal whether it supports the given Path

Parameters:
destination - Path
Returns:

postProcess

void postProcess(org.uberfire.backend.vfs.Path source,
                 org.uberfire.backend.vfs.Path destination)
Perform post processing following the copy operation. This is always within a IOService batch operation.

Parameters:
source - Path Source before copy
destination - Path Destination after copy

Guvnor - Services API 6.1.0.Beta3

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.