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

b4j.core.Status Maven / Gradle / Ivy

/*
 * This file is part of Bugzilla for Java.
 *
 *  Bugzilla for Java is free software: you can redistribute it 
 *  and/or modify it under the terms of version 3 of the GNU 
 *  Lesser General Public  License as published by the Free Software 
 *  Foundation.
 *  
 *  Bugzilla for Java is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public 
 *  License along with Bugzilla for Java.  If not, see 
 *  .
 */
package b4j.core;

/**
 * Information about an issue status.
 * @author ralph
 * @since 2.0
 *
 */
public interface Status extends BugzillaObject {

	/**
	 * Returns the name.
	 */
	public String getName();

	/**
	 * Returns whether the status represents an OPEN status.
	 * 

An open status means that the issue is new and was not yet processed.

* @return true when status represents OPEN */ public boolean isOpen(); /** * Returns whether the status represents a RESOLVED status. *

An resolved status means that the issue was processed successfully and a resolution was found.

* @return true when status represents RESOLVED */ public boolean isResolved(); /** * Returns whether the status represents a CANCEL status. *

An cancelled status means that the issue was processed but has been marked as abandoned.

* @return true when status represents CANCEL */ public boolean isCancelled(); /** * Returns whether the status represents a CLOSED status. *

An closed status means that there is nothing more to be done for the issue.

* @return true when status represents CLOSED */ public boolean isClosed(); /** * Returns whether the status represents a DUPLICATE status. *

An duplicate status means that there is another issue of same content.

* @return true when status represents DUPLICATE */ public boolean isDuplicate(); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy