001/*
002 * Copyright 2025 devteam@scivicslab.com
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License");
005 * you may not use this file except in compliance with the License.
006 * You may obtain a copy of the License at
007 *
008 *     http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing,
011 * software distributed under the License is distributed on an
012 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
013 * either express or implied.  See the License for the
014 * specific language governing permissions and limitations
015 * under the License.
016 */
017
018package com.scivicslab.actoriac.report;
019
020/**
021 * Interface for report sections (legacy).
022 *
023 * <p>Each implementation provides a specific type of content for the final report.
024 * Sections are output in the order they were added.</p>
025 *
026 * @author devteam@scivicslab.com
027 * @since 2.15.0
028 */
029public interface ReportSection {
030
031    /**
032     * Returns the section title.
033     *
034     * <p>If null or empty, the section content is output without a title line.</p>
035     *
036     * @return the section title, or null for no title
037     */
038    String getTitle();
039
040    /**
041     * Returns the section content.
042     *
043     * <p>If null or empty, the section is skipped in the report.</p>
044     *
045     * @return the section content
046     */
047    String getContent();
048}