org.jboss.shrinkwrap.descriptor.api.jobXML10.Partition 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.PartitionMapper;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.PartitionPlan;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Collector;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Analyzer;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.PartitionReducer;
import org.jboss.shrinkwrap.descriptor.api.jobXML.*;
import org.jboss.shrinkwrap.descriptor.api.jobXML.JslPartitionCommType;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.PartitionMapper;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.PartitionPlan;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Collector;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.Analyzer;
import org.jboss.shrinkwrap.descriptor.api.jobXML10.PartitionReducer;/**
* This interface defines the contract for the Partition
xsd type
* @author Ralf Battenfeld
* @author Andrew Lee Rubinger
*/
public interface Partition extends Child,
JslPartitionCommType,
PartitionMapper>,
PartitionPlan>,
Collector>,
Analyzer>,
PartitionReducer>> {
// --------------------------------------------------------------------------------------------------------||
// ClassName: Partition ElementName: jsl:PartitionMapper ElementType : mapper
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new mapper
element with the given value will be created.
* Otherwise, the existing mapper
element will be returned.
* @return a new or existing instance of PartitionMapper>
*/
public PartitionMapper> getOrCreateMapper();
/**
* Removes the mapper
element
* @return the current instance of Partition
*/
public Partition removeMapper();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Partition ElementName: jsl:PartitionPlan ElementType : plan
// MaxOccurs: - isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new plan
element with the given value will be created.
* Otherwise, the existing plan
element will be returned.
* @return a new or existing instance of PartitionPlan>
*/
public PartitionPlan> getOrCreatePlan();
/**
* Removes the plan
element
* @return the current instance of Partition
*/
public Partition removePlan();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Partition ElementName: jsl:Collector ElementType : collector
// MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new collector
element with the given value will be created.
* Otherwise, the existing collector
element will be returned.
* @return a new or existing instance of Collector>
*/
public Collector> getOrCreateCollector();
/**
* Removes the collector
element
* @return the current instance of Partition
*/
public Partition removeCollector();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Partition ElementName: jsl:Analyzer ElementType : analyzer
// MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new analyzer
element with the given value will be created.
* Otherwise, the existing analyzer
element will be returned.
* @return a new or existing instance of Analyzer>
*/
public Analyzer> getOrCreateAnalyzer();
/**
* Removes the analyzer
element
* @return the current instance of Partition
*/
public Partition removeAnalyzer();
// --------------------------------------------------------------------------------------------------------||
// ClassName: Partition ElementName: jsl:PartitionReducer ElementType : reducer
// MaxOccurs: -1 isGeneric: true isAttribute: false isEnum: false isDataType: false
// --------------------------------------------------------------------------------------------------------||
/**
* If not already created, a new reducer
element with the given value will be created.
* Otherwise, the existing reducer
element will be returned.
* @return a new or existing instance of PartitionReducer>
*/
public PartitionReducer> getOrCreateReducer();
/**
* Removes the reducer
element
* @return the current instance of Partition
*/
public Partition removeReducer();
}