© 2002 BEA Systems, Inc.


com.bea.campaign
Interface Scenario


public interface Scenario
extends ScenarioInfo

A scenario's runtime definition.


Field Summary
static short AND
          Boolean AND logic.
static short OR
          Boolean OR logic.
 
Method Summary
 boolean checksClassifications()
          Does the scenario check for Classifications.
 java.lang.String getClassifiersRulesetName()
          The name of the classifier's ruleset to use.
 long getLastModified()
          The last time this scenario was modified.
 java.lang.String getScenarioRulesetName()
          The name of the scenario's ruleset.
 java.util.List getValidClassificationNames()
          The list of classification names for which this scenario is valid.
 short getValidClassificationsLogic()
          Get the valid classifications boolean logic.
 java.util.Collection getValidEventTypes()
          The list of event types the scenario ruleset checks for.
 
Methods inherited from interface com.bea.campaign.ScenarioInfo
getActiveFlag, getDescription, getName, getUniqueId
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Field Detail

AND

public static final short AND
Boolean AND logic.

OR

public static final short OR
Boolean OR logic.
Method Detail

getLastModified

public long getLastModified()
The last time this scenario was modified.


getValidClassificationNames

public java.util.List getValidClassificationNames()
The list of classification names for which this scenario is valid.

Empty list implies being valid for any user.

Returns:
the list of String names.

getValidClassificationsLogic

public short getValidClassificationsLogic()
Get the valid classifications boolean logic.

Returns:
AND or OR.

getScenarioRulesetName

public java.lang.String getScenarioRulesetName()
The name of the scenario's ruleset.


getClassifiersRulesetName

public java.lang.String getClassifiersRulesetName()
The name of the classifier's ruleset to use.


checksClassifications

public boolean checksClassifications()
Does the scenario check for Classifications.


getValidEventTypes

public java.util.Collection getValidEventTypes()
The list of event types the scenario ruleset checks for.

Returns:
the list of valid event types (null for none).

© 2002 BEA Systems, Inc.

Copyright © 2002 BEA Systems, Inc. All Rights Reserved