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

net.anotheria.anosite.wizard.handler.response.WizardHandlerResponse Maven / Gradle / Ivy

There is a newer version: 4.1.2
Show newest version
package net.anotheria.anosite.wizard.handler.response;

import net.anotheria.anosite.shared.InternalResponseCode;

import java.io.Serializable;

/**
 * WizardHandlerResponse to be used in steps and wizard handlers.
 *
 * @author h3ll
 */
public abstract class WizardHandlerResponse implements Serializable {

	/**
	 * Basic serial version UID.
	 */
	private static final long serialVersionUID = 7289281348326360389L;

	/**
	 * Returns the response code of the response. Classes react on the response accordingly to the response code.
	 *
	 * @return {@link InternalResponseCode}
	 */
	public abstract InternalResponseCode getResponseCode();

	@Override
	public String toString() {
		return getResponseCode().toString();
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy