corpus-services  1.0
CorpusFunction.java
Go to the documentation of this file.
1 /*
2  * To change this license header, choose License Headers in Project Properties.
3  * To change this template file, choose Tools | Templates
4  * and open the template in the editor.
5  */
6 package de.uni_hamburg.corpora;
7 
8 import java.util.Collection;
9 
14 public interface CorpusFunction {
15 
16 public Report execute(CorpusData cd);
17 
18 public Report execute(Corpus c);
19 
20 public Report execute(CorpusData cd, boolean fix);
21 
22 public Report execute(Corpus c, boolean fix);
23 
24 public Collection<Class<? extends CorpusData>> getIsUsableFor();
25 
26 public void setIsUsableFor(Collection<Class<? extends CorpusData>> cdc);
27 
28 public String getDescription();
29 
30 public String getFunction();
31 
32 public Boolean getCanFix();
33 }
Collection< Class<?extends CorpusData > > getIsUsableFor()
void setIsUsableFor(Collection< Class<?extends CorpusData >> cdc)