Skip to main content
summaryrefslogtreecommitdiffstats
blob: d948ff927fc292452803be34e0b5e5dd845d06a4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*******************************************************************************
 * Copyright (c) 2007, 2008 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 * IBM Corporation - initial API and implementation
 * yyyymmdd bug      Email and other contact information
 * -------- -------- -----------------------------------------------------------
 * 20071024   196997 pmoogk@ca.ibm.com - Peter Moogk
 * 20080515          pmoogk@ca.ibm.com - Peter Moogk
 *******************************************************************************/
package org.eclipse.wst.ws.service.policy;

/**
 * 
 * This interface is used to filter service policies.
 *
 */
public interface IFilter
{
  /**
   * Determines if a policy should be accepted or not.
   * 
   * @param policy the service policy.
   * @return returns true if this policy is accepted by the filter.
   */
  public boolean accept( IServicePolicy policy );
}

Back to the top