org.jboss.shrinkwrap.descriptor.api.jobXML10.Stop Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Show all versions of shrinkwrap-descriptors-api-javaee Show documentation
Client View of the ShrinkWrap Descriptors Project
The newest version!
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.JslStopCommType;
/**
* This interface defines the contract for the Stop
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface Stop extends Child,
JslStopCommType> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: Stop 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 Stop
*/
public Stop 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 Stop
*/
public Stop removeOn();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Stop 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 Stop
*/
public Stop 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 Stop
*/
public Stop removeExitStatus();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Stop ElementName: xsd:string ElementType : restart
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the restart
attribute
* @param restart the value for the attribute restart
* @return the current instance of Stop
*/
public Stop restart(String restart);
/**
* Returns the restart
attribute
* @return the value defined for the attribute restart
*/
public String getRestart();
/**
* Removes the restart
attribute
* @return the current instance of Stop
*/
public Stop removeRestart();
}