net.sourceforge.jbizmo.commons.selenium.data.PageActionResult Maven / Gradle / Ivy
/*
* This file is part of JBizMo, a set of tools, libraries and plug-ins
* for modeling and creating Java-based enterprise applications.
* For more information visit:
*
* http://sourceforge.net/projects/jbizmo/
*
* This software is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This software 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 General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this software; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
package net.sourceforge.jbizmo.commons.selenium.data;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlEnum;
/**
*
* Objects of this class provide status information regarding a page action
*
*
* Copyright 2017 (C) by Martin Ganserer
*
* @author Martin Ganserer
* @version 1.0.0
*/
@XmlAccessorType(XmlAccessType.FIELD)
public class PageActionResult implements Serializable
{
private static final long serialVersionUID = 8494338253696275740L;
/**
* Enumeration of supported statuses
*/
@XmlEnum
public enum ActionResultStatus
{
INFO, WARNING, ERROR;
}
@XmlAttribute(required = true)
private ActionResultStatus status;
@XmlAttribute
private String message;
/**
* @return the status
*/
public ActionResultStatus getStatus()
{
return status;
}
/**
* @param status
*/
public void setStatus(ActionResultStatus status)
{
this.status = status;
}
/**
* @return the message
*/
public String getMessage()
{
return message;
}
/**
* @param message
*/
public void setMessage(String message)
{
this.message = message;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy