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: package de.uka.ilkd.key.rule;
09:
10: import de.uka.ilkd.key.logic.op.ListOfProgramMethod;
11: import de.uka.ilkd.key.logic.op.Modality;
12: import de.uka.ilkd.key.proof.mgt.OldOperationContract;
13: import de.uka.ilkd.key.proof.mgt.SpecificationRepository;
14: import de.uka.ilkd.key.speclang.ListOfClassInvariant;
15:
16: public interface ContractConfigurator {
17:
18: void setSpecification(SpecificationRepository repos);
19:
20: void start();
21:
22: OldOperationContract getMethodContract();
23:
24: ListOfClassInvariant getPreInvariants();
25:
26: ListOfClassInvariant getPostInvariants();
27:
28: void setProgramMethods(ListOfProgramMethod pm);
29:
30: void setModality(Modality modality);
31:
32: boolean wasSuccessful();
33:
34: void clear();
35:
36: void allowConfiguration(boolean allowConfig);
37: }
|