Only concrete classes are now documented
This commit is contained in:
parent
5772766dd5
commit
faa3f8b6f6
|
|
@ -50,7 +50,7 @@ import java.util.*;
|
||||||
@DocumentedGATKFeature(
|
@DocumentedGATKFeature(
|
||||||
groupName = "GATK Engine",
|
groupName = "GATK Engine",
|
||||||
summary = "Features and arguments for the GATK engine itself, available to all walkers.",
|
summary = "Features and arguments for the GATK engine itself, available to all walkers.",
|
||||||
extraDocs = { ReadFilter.class, UserException.class })
|
extraDocs = { UserException.class })
|
||||||
public class CommandLineGATK extends CommandLineExecutable {
|
public class CommandLineGATK extends CommandLineExecutable {
|
||||||
@Argument(fullName = "analysis_type", shortName = "T", doc = "Type of analysis to run")
|
@Argument(fullName = "analysis_type", shortName = "T", doc = "Type of analysis to run")
|
||||||
private String analysisName = null;
|
private String analysisName = null;
|
||||||
|
|
|
||||||
|
|
@ -52,13 +52,13 @@ public class GenericDocumentationHandler extends DocumentedGATKFeatureHandler {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean includeInDocs(ClassDoc doc) {
|
public boolean includeInDocs(ClassDoc doc) {
|
||||||
return true;
|
// return true;
|
||||||
// try {
|
try {
|
||||||
// Class type = HelpUtils.getClassForDoc(doc);
|
Class type = HelpUtils.getClassForDoc(doc);
|
||||||
// return JVMUtils.isConcrete(type);
|
return JVMUtils.isConcrete(type);
|
||||||
// } catch ( ClassNotFoundException e ) {
|
} catch ( ClassNotFoundException e ) {
|
||||||
// return false;
|
return false;
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -256,20 +256,6 @@ public class GenericDocumentationHandler extends DocumentedGATKFeatureHandler {
|
||||||
|
|
||||||
}
|
}
|
||||||
root.put("extradocs", extraDocsData);
|
root.put("extradocs", extraDocsData);
|
||||||
|
|
||||||
|
|
||||||
// List<Map<String, Object>> hierarchyDocs = new ArrayList<Map<String, Object>>();
|
|
||||||
// for (final GATKDocWorkUnit other : all ) {
|
|
||||||
// final String relation = classRelationship(toProcess.clazz, other.clazz);
|
|
||||||
// if ( relation != null )
|
|
||||||
// hierarchyDocs.add(
|
|
||||||
// new HashMap<String, Object>(){{
|
|
||||||
// put("filename", other.filename);
|
|
||||||
// put("relation", relation);
|
|
||||||
// put("name", other.name);}});
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
// root.put("relatedDocs", hierarchyDocs);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private static final String classRelationship(Class me, Class other) {
|
private static final String classRelationship(Class me, Class other) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue