Cisco Systems, Inc.

com.pcube.apps.engage
Class PolicyValidator

java.lang.Object
  extended by com.pcube.apps.engage.PolicyValidator

public class PolicyValidator
extends java.lang.Object


Constructor Summary
PolicyValidator()
           
 
Method Summary
 java.util.ArrayList validatePolicy(Policy policy)
          Validates the correctness of the Policy defined.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyValidator

public PolicyValidator()
Method Detail

validatePolicy

public java.util.ArrayList validatePolicy(Policy policy)
Validates the correctness of the Policy defined. The Rules created for each Package are examined. A vector with Strings defining the Rules which might give undesireable results is returned. The warnings are for Packages that do not have active Rules for Generic Protocols, there is a disabled service with a certain Protocol and lists and another enabled service with the same protocol and no lists and if there are no Rules for services that have a certaing Protocol with lists while having a Rule for the service which has the same Protocol without lists.

Parameters:
policy - the Policy which is examined
Returns:
a Vector with warning messages regarding Rules which might have undesireable results

Cisco Systems, Inc.

Copyright © 2013 Cisco Systems, Inc. Confidential.