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

E13403-07

oracle.jdeveloper.deploy
Class ProfileListenerCondition

java.lang.Object
  extended by oracle.jdeveloper.deploy.ProfileListenerCondition
All Implemented Interfaces:
ListenerCondition

public class ProfileListenerCondition
extends java.lang.Object
implements ListenerCondition

A default implementation of a ListenerCondition. This class can be used to quickly create a condition based on match on deploymentSequenceId, profileClass and platformType. If any of these are null, a wildcard is assumed. For example, if platformType is null, the listener associated with this Condition will fire for all platformType(s).


Constructor Summary
ProfileListenerCondition(int deploymentSequenceId, java.lang.Class<? extends Profile> profileClass, oracle.jdeveloper.deploy.meta.PlatformType platformType)
          Creates a condition based on the arguments to this constructor.
 
Method Summary
 boolean shouldFire(DeployEvent event)
           
 boolean shouldFireImpl(int deploymentSequenceId, Profile profile, DeployShell shell)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileListenerCondition

public ProfileListenerCondition(int deploymentSequenceId,
                                java.lang.Class<? extends Profile> profileClass,
                                oracle.jdeveloper.deploy.meta.PlatformType platformType)
Creates a condition based on the arguments to this constructor. Set profileClass or platformType to null to do a wildcard match. Use 0 for deploymentSequenceId to match all sequences.

Parameters:
deploymentSequenceId -
profileClass -
platformType -
Method Detail

shouldFireImpl

public boolean shouldFireImpl(int deploymentSequenceId,
                              Profile profile,
                              DeployShell shell)

shouldFire

public boolean shouldFire(DeployEvent event)
Specified by:
shouldFire in interface ListenerCondition

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

E13403-07

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