View Javadoc

1   /***
2    * Copyright 2007 the original author or authors.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *         http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * For more information visit
11   *         http://72miles.com and
12   *         http://architecturerules.googlecode.com/svn/docs/index.html
13   */
14  
15  package com.seventytwomiles.architecturerules.services;
16  
17  
18  /***
19   * <p>Interface for RuleService implementations to adhere to. This service
20   * provides the methods necessary to assert that <code>Rules</code> are not
21   * violated.</p>
22   *
23   * @author mikenereson
24   */
25  public interface RulesService {
26  
27  
28      /***
29       * <p>Assert that no <code>Rule</code> in the given <code>Configuration</code>
30       * has been violated.</p>
31       *
32       * @return boolean <tt>true</tt> when tests pass
33       */
34      boolean performRulesTest();
35  }