01: // This file is part of KeY - Integrated Deductive Software Design
02: // Copyright (C) 2001-2007 Universitaet Karlsruhe, Germany
03: // Universitaet Koblenz-Landau, Germany
04: // Chalmers University of Technology, Sweden
05: //
06: // The KeY system is protected by the GNU General Public License.
07: // See LICENSE.TXT for details.
08: //
09: //
10:
11: package de.uka.ilkd.key.proof.mgt;
12:
13: import java.util.List;
14:
15: import de.uka.ilkd.key.proof.Proof;
16: import de.uka.ilkd.key.proof.ProofAggregate;
17: import de.uka.ilkd.key.proof.init.ProofOblInput;
18:
19: /**
20: * @deprecated
21: */
22: public interface Contract {
23:
24: void addCompoundProof(ProofAggregate pl);
25:
26: void removeCompoundProof(ProofAggregate pl);
27:
28: List getProofs();
29:
30: Object getObjectOfContract();
31:
32: void setProofEnv(ProofEnvironment env);
33:
34: ProofEnvironment getProofEnv();
35:
36: ProofOblInput getProofOblInput(Proof proof);
37:
38: /** Sets the textual header needed to later load the proof of this contract.
39: * This header is usually copied from the problem, in which the contract
40: * is defined/used.
41: */
42: void setHeader(String s);
43:
44: String getName();
45:
46: }
|