Interface PlacementConstraint.Visitable
- All Known Implementing Classes:
PlacementConstraint.AbstractConstraint,PlacementConstraint.And,PlacementConstraint.CardinalityConstraint,PlacementConstraint.CompositeConstraint,PlacementConstraint.DelayedOr,PlacementConstraint.Or,PlacementConstraint.SingleConstraint,PlacementConstraint.TargetConstraint,PlacementConstraint.TargetExpression,PlacementConstraint.TimedPlacementConstraint
- Enclosing class:
- PlacementConstraint
@Private
public static interface PlacementConstraint.Visitable
Interface used to enable the elements of the constraint tree to be visited.
-
Method Summary
Modifier and TypeMethodDescription<T> Taccept(PlacementConstraint.Visitor<T> visitor) Visitor pattern.
-
Method Details
-
accept
Visitor pattern.- Type Parameters:
T- defines the type that the visitor will use and the return type of the accept.- Parameters:
visitor- visitor to be used- Returns:
- the result of visiting a given object.
-