All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.unibremen.informatik.st.libvcs4j.Issue Maven / Gradle / Ivy

package de.unibremen.informatik.st.libvcs4j;

import java.time.LocalDateTime;
import java.util.List;

/**
 * Represents an issue from an issue tracker.
 */
public interface Issue extends ITModelElement {

	/**
	 * Represents a comment attached to an {@link Issue}.
	 */
	interface Comment extends ITModelElement {

		/**
		 * Returns the author of this comment.
		 *
		 * @return
		 *      The author of this comment.
		 */
		String getAuthor();

		/**
		 * Returns the message of this comment.
		 *
		 * @return
		 *      The message of this comment.
		 */
		String getMessage();

		/**
		 * Returns the datetime of this comment.
		 *
		 * @return
		 *      The datetime of this comment.
		 */
		LocalDateTime getDateTime();
	}

	/**
	 * Returns the id of this issue.
	 *
	 * @return
	 *      The id of this issue.
	 */
	String getId();

	/**
	 * Returns the user who created this issue.
	 *
	 * @return
	 *      The user who created this issue.
	 */
	String getAuthor();

	/**
	 * Returns the title of this issue.
	 *
	 * @return
	 *      The title of this issue.
	 */
	String getTitle();

	/**
	 * Returns the datetime of this issue.
	 *
	 * @return
	 *      The datetime of this issue.
	 */
	LocalDateTime getDateTime();

	/**
	 * Returns the comments of this issue.
	 *
	 * @return
	 *      The comments of this issue.
	 */
	List getComments();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy