public class ProofManagementApi
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private KeYEnvironment<?> |
currentEnv |
private java.util.List<Contract> |
proofContracts |
private java.util.HashSet<java.lang.String> |
ruleNames |
Constructor and Description |
---|
ProofManagementApi(KeYEnvironment<?> env) |
Modifier and Type | Method and Description |
---|---|
private void |
buildContracts()
constructs the possible proof contracts from the
java info in the environment.
|
ProofApi |
getLoadedProof() |
java.util.List<Contract> |
getProofContracts()
Retrieve a list of all available contracts
|
java.util.Set<java.lang.String> |
getRuleNames()
Constructs a set containing all names of a taclets that are registered
in the current environment.
|
Services |
getServices() |
ProofApi |
startProof(Contract contract) |
ProofApi |
startProof(ProofOblInput contract) |
private KeYEnvironment<?> currentEnv
private final java.util.List<Contract> proofContracts
private java.util.HashSet<java.lang.String> ruleNames
public ProofManagementApi(KeYEnvironment<?> env)
public Services getServices()
public java.util.List<Contract> getProofContracts()
List
; can be null if no file was loaded before
(we should throw an exception here)private void buildContracts()
public ProofApi startProof(ProofOblInput contract) throws ProofInputException
contract
- ProofInputException
public ProofApi startProof(Contract contract) throws ProofInputException
contract
- ProofInputException
public ProofApi getLoadedProof()
public java.util.Set<java.lang.String> getRuleNames()
The result is cached to speed up further calls.s