package jp.sourceforge.shovel.action;

import org.seasar.struts.annotation.tiger.BoolType;
import org.seasar.struts.annotation.tiger.ScopeType;
import org.seasar.struts.annotation.tiger.StrutsAction;
import org.seasar.struts.annotation.tiger.StrutsActionForward;

@StrutsAction(name = "statusForm",
        path = "/statuses/show",
        validate = BoolType.FALSE,
        scope = ScopeType.REQUEST)
public interface IShowStatusAction {
    @StrutsActionForward(path = "/showStatus.ftl")
    String SUCCESS = "success";
    @StrutsActionForward(path = "/showStatus/xml.ftl")
    String XML = "xml";
    @StrutsActionForward(path = "/showStatus/json.ftl")
    String JSON = "json";
    
    String perform() throws Exception;
}
