org.eclipse.stardust.engine.api.query
Class ModelPolicy

java.lang.Object
  extended by org.eclipse.stardust.engine.api.query.ModelPolicy
All Implemented Interfaces:
Serializable, EvaluationPolicy

public class ModelPolicy
extends Object
implements EvaluationPolicy

The ModelPolicy can be used to enforce DeployedModelQueries to exclude the deployed predefined model

Author:
thomas.wolfram
See Also:
Serialized Form

Method Summary
static ModelPolicy excludePredefinedModels()
          Initialize a ModelPolicy that excludes the PredefinedModel from the DeployedModelQuery
 boolean isExcludePredefinedModels()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isExcludePredefinedModels

public boolean isExcludePredefinedModels()
Returns:
true if the DeployedModelQuery excludes the PredefinedModel, false if no restrictions are applied

excludePredefinedModels

public static ModelPolicy excludePredefinedModels()
Initialize a ModelPolicy that excludes the PredefinedModel from the DeployedModelQuery

Returns:
ModelPolicy


Copyright © 2017 Eclipse Stardust. All Rights Reserved.