org.jboss.shrinkwrap.descriptor.api.jobXML10.Chunk 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.jobXML10.ItemReader;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.ItemProcessor;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.ItemWriter;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.CheckpointAlgorithm;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.ExceptionClassFilter;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.ExceptionClassFilter;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.ExceptionClassFilter;
import org.jboss.shrinkwrap.descriptor.api.jobXML.*;
import org.jboss.shrinkwrap.descriptor.api.jobXML.JslChunkCommType;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.ItemReader;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.ItemProcessor;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.ItemWriter;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.CheckpointAlgorithm;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.ExceptionClassFilter;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.ExceptionClassFilter;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.ExceptionClassFilter;/**
* This interface defines the contract for the Chunk
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface Chunk extends Child,
JslChunkCommType,
ItemReader>,
ItemProcessor>,
ItemWriter>,
CheckpointAlgorithm>,
ExceptionClassFilter>,
ExceptionClassFilter>,
ExceptionClassFilter>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: Chunk ElementName: jsl:ItemReader ElementType : reader
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new reader
element with the given value will be created.
* Otherwise, the existing reader
element will be returned.
* @return a new or existing instance of ItemReader>
*/
public ItemReader> getOrCreateReader();
/**
* Removes the reader
element
* @return the current instance of Chunk
*/
public Chunk removeReader();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Chunk ElementName: jsl:ItemProcessor ElementType : processor
// MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new processor
element with the given value will be created.
* Otherwise, the existing processor
element will be returned.
* @return a new or existing instance of ItemProcessor>
*/
public ItemProcessor> getOrCreateProcessor();
/**
* Removes the processor
element
* @return the current instance of Chunk
*/
public Chunk removeProcessor();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Chunk ElementName: jsl:ItemWriter ElementType : writer
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new writer
element with the given value will be created.
* Otherwise, the existing writer
element will be returned.
* @return a new or existing instance of ItemWriter>
*/
public ItemWriter> getOrCreateWriter();
/**
* Removes the writer
element
* @return the current instance of Chunk
*/
public Chunk removeWriter();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Chunk ElementName: jsl:CheckpointAlgorithm ElementType : checkpoint-algorithm
// MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new checkpoint-algorithm
element with the given value will be created.
* Otherwise, the existing checkpoint-algorithm
element will be returned.
* @return a new or existing instance of CheckpointAlgorithm>
*/
public CheckpointAlgorithm> getOrCreateCheckpointAlgorithm();
/**
* Removes the checkpoint-algorithm
element
* @return the current instance of Chunk
*/
public Chunk removeCheckpointAlgorithm();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Chunk ElementName: jsl:ExceptionClassFilter ElementType : skippable-exception-classes
// MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new skippable-exception-classes
element with the given value will be created.
* Otherwise, the existing skippable-exception-classes
element will be returned.
* @return a new or existing instance of ExceptionClassFilter>
*/
public ExceptionClassFilter> getOrCreateSkippableExceptionClasses();
/**
* Removes the skippable-exception-classes
element
* @return the current instance of Chunk
*/
public Chunk removeSkippableExceptionClasses();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Chunk ElementName: jsl:ExceptionClassFilter ElementType : retryable-exception-classes
// MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new retryable-exception-classes
element with the given value will be created.
* Otherwise, the existing retryable-exception-classes
element will be returned.
* @return a new or existing instance of ExceptionClassFilter>
*/
public ExceptionClassFilter> getOrCreateRetryableExceptionClasses();
/**
* Removes the retryable-exception-classes
element
* @return the current instance of Chunk
*/
public Chunk removeRetryableExceptionClasses();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Chunk ElementName: jsl:ExceptionClassFilter ElementType : no-rollback-exception-classes
// MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new no-rollback-exception-classes
element with the given value will be created.
* Otherwise, the existing no-rollback-exception-classes
element will be returned.
* @return a new or existing instance of ExceptionClassFilter>
*/
public ExceptionClassFilter> getOrCreateNoRollbackExceptionClasses();
/**
* Removes the no-rollback-exception-classes
element
* @return the current instance of Chunk
*/
public Chunk removeNoRollbackExceptionClasses();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Chunk ElementName: xsd:string ElementType : checkpoint-policy
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the checkpoint-policy
attribute
* @param checkpointPolicy the value for the attribute checkpoint-policy
* @return the current instance of Chunk
*/
public Chunk checkpointPolicy(String checkpointPolicy);
/**
* Returns the checkpoint-policy
attribute
* @return the value defined for the attribute checkpoint-policy
*/
public String getCheckpointPolicy();
/**
* Removes the checkpoint-policy
attribute
* @return the current instance of Chunk
*/
public Chunk removeCheckpointPolicy();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Chunk ElementName: xsd:string ElementType : item-count
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the item-count
attribute
* @param itemCount the value for the attribute item-count
* @return the current instance of Chunk
*/
public Chunk itemCount(String itemCount);
/**
* Returns the item-count
attribute
* @return the value defined for the attribute item-count
*/
public String getItemCount();
/**
* Removes the item-count
attribute
* @return the current instance of Chunk
*/
public Chunk removeItemCount();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Chunk ElementName: xsd:string ElementType : time-limit
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the time-limit
attribute
* @param timeLimit the value for the attribute time-limit
* @return the current instance of Chunk
*/
public Chunk timeLimit(String timeLimit);
/**
* Returns the time-limit
attribute
* @return the value defined for the attribute time-limit
*/
public String getTimeLimit();
/**
* Removes the time-limit
attribute
* @return the current instance of Chunk
*/
public Chunk removeTimeLimit();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Chunk ElementName: xsd:string ElementType : skip-limit
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the skip-limit
attribute
* @param skipLimit the value for the attribute skip-limit
* @return the current instance of Chunk
*/
public Chunk skipLimit(String skipLimit);
/**
* Returns the skip-limit
attribute
* @return the value defined for the attribute skip-limit
*/
public String getSkipLimit();
/**
* Removes the skip-limit
attribute
* @return the current instance of Chunk
*/
public Chunk removeSkipLimit();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Chunk ElementName: xsd:string ElementType : retry-limit
// MaxOccurs: - isGeneric: true isAttribute: true isEnum: false isDataType: true
// --------------------------------------------------------------------------------------------------------||
/**
* Sets the retry-limit
attribute
* @param retryLimit the value for the attribute retry-limit
* @return the current instance of Chunk
*/
public Chunk retryLimit(String retryLimit);
/**
* Returns the retry-limit
attribute
* @return the value defined for the attribute retry-limit
*/
public String getRetryLimit();
/**
* Removes the retry-limit
attribute
* @return the current instance of Chunk
*/
public Chunk removeRetryLimit();
}