Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


oracle.jdeveloper.deploy
Class PatternFilter

java.lang.Object
  extended by oracle.jdeveloper.deploy.PatternFilter

All Implemented Interfaces:
java.util.EventListener, DeploymentModuleListener

public class PatternFilter
extends java.lang.Object
implements DeploymentModuleListener

A decorator for a DeploymentModuleListener that only fires if an Archive entry name that matches supplied patterns is added or removed. http://ant.apache.org/manual/dirtasks.html#patterns http://devweb.uk.oracle.com/cgi-bin/jdevwiki.pl?JavaCoreIDEGroup/WorkingSets


Constructor Summary
PatternFilter(java.lang.String[] patterns, DeploymentModuleListener listener)
           
PatternFilter(java.lang.String pattern, DeploymentModuleListener listener)
          Create a filter for a single pattern.

 

Method Summary
 void moduleChanged(DeploymentModuleEvent deploymentModuleEvent)
          Fires event on decorated if any of the patterns match ArchiveEntry.name.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

PatternFilter

public PatternFilter(java.lang.String pattern,
                     DeploymentModuleListener listener)
Create a filter for a single pattern.
Parameters:
pattern - the string pattern to match
listener - the listener to call when an Archive entry-name matches.

PatternFilter

public PatternFilter(java.lang.String[] patterns,
                     DeploymentModuleListener listener)

Method Detail

moduleChanged

public void moduleChanged(DeploymentModuleEvent deploymentModuleEvent)
Fires event on decorated if any of the patterns match ArchiveEntry.name.
Specified by:
moduleChanged in interface DeploymentModuleListener
Parameters:
deploymentModuleEvent - the DeploymentModuleEvent that describes the change.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.5.0)

E13403-06


Copyright © 1997, 2011, Oracle. All rights reserved.