Skip navigation links
oracle.jdeveloper.deploy
Class ProfileListenerCondition
java.lang.Object
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
-
shouldFireImpl
public boolean shouldFireImpl(int deploymentSequenceId,
Profile profile,
DeployShell shell)
shouldFire
public boolean shouldFire(DeployEvent event)
-
- Specified by:
shouldFire
in interface ListenerCondition
Skip navigation links
Copyright © 1997, 2011, Oracle. All rights reserved.