blob: 0344af16edb8d76b9b2a72829bb13a97b3c74194 (
plain)
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
32
33
34
35
36
37
|
/*******************************************************************************
* Copyright (c) 2009 Elliott Baron
* 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:
* Elliott Baron - initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.codan.extension;
import java.util.Set;
/**
* A finite state machine that encodes a temporal property.
* It is a set of Property States with defined meanings and transitions.
*/
public interface IPropertyFSM {
/**
* Returns all Property States in this finite state machine.
* @return a Set of all Property States
*/
public Set<PropertyState> getPropertyStates();
/**
* @return the initial state for this finite state machine
*/
public PropertyState getUninitState();
/**
* @return the error state indicating the temporal property was violated
*/
public PropertyState getErrorState();
}
|