use of com.mercedesbenz.sechub.pds.usecase.PDSUseCaseGroup in project sechub by mercedes-benz.
the class UseCaseAsciiDocGenerator method generateOverview.
private void generateOverview(UseCaseModel model, Context context, int headlineLevel) {
context.addLine(headline(headlineLevel) + "Overview about usecase groups");
UseCaseModelType type = model.getType();
switch(type) {
case SECHUB:
for (UseCaseGroup useCaseGroup : UseCaseGroup.values()) {
generateGroupUseCaseLinks(context, headlineLevel, model.getGroup(useCaseGroup));
}
break;
case PDS:
for (PDSUseCaseGroup useCaseGroup : PDSUseCaseGroup.values()) {
generateGroupUseCaseLinks(context, headlineLevel, model.getGroup(useCaseGroup));
}
break;
default:
throw new IllegalArgumentException("Unsupported type:" + type);
}
}
use of com.mercedesbenz.sechub.pds.usecase.PDSUseCaseGroup in project sechub by mercedes-benz.
the class PDSUseCaseAsciiDocGenerator method generateOverview.
private void generateOverview(UseCaseModel model, Context context, int headlineLevel) {
context.addLine(headline(headlineLevel) + "Overview about usecase groups");
UseCaseModelType type = model.getType();
switch(type) {
case SECHUB:
for (UseCaseGroup useCaseGroup : UseCaseGroup.values()) {
generateGroupUseCaseLinks(context, headlineLevel, model.getGroup(useCaseGroup));
}
break;
case PDS:
for (PDSUseCaseGroup useCaseGroup : PDSUseCaseGroup.values()) {
generateGroupUseCaseLinks(context, headlineLevel, model.getGroup(useCaseGroup));
}
break;
default:
throw new IllegalArgumentException("Unsupported type:" + type);
}
}
Aggregations