org.jboss.shrinkwrap.descriptor.api.jobXML10.Fail Maven / Gradle / Ivy
package org.jboss.shrinkwrap.descriptor.api.jobXML10;
import java.util.ArrayList;
import java.util.List;
import org.jboss.shrinkwrap.descriptor.api.Child;
import org.jboss.shrinkwrap.descriptor.api.jobXML.*;
import org.jboss.shrinkwrap.descriptor.api.jobXML.JslFailCommType;
/**
* This interface defines the contract for the Fail
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface Fail extends Child,
JslFailCommType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: Fail ElementName: xsd:string ElementType : on
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the on
attribute
* @param on the value for the attribute on
* @return the current instance of Fail
*/
public Fail on(String on);
/**
* Returns the on
attribute
* @return the value defined for the attribute on
*/
public String getOn();
/**
* Removes the on
attribute
* @return the current instance of Fail
*/
public Fail removeOn();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Fail ElementName: xsd:string ElementType : exit-status
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the exit-status
attribute
* @param exitStatus the value for the attribute exit-status
* @return the current instance of Fail
*/
public Fail exitStatus(String exitStatus);
/**
* Returns the exit-status
attribute
* @return the value defined for the attribute exit-status
*/
public String getExitStatus();
/**
* Removes the exit-status
attribute
* @return the current instance of Fail
*/
public Fail removeExitStatus();
}