Package org.apache.cxf.ws.rm.manager
Class SourcePolicyType
- java.lang.Object
-
- org.apache.cxf.ws.rm.manager.SourcePolicyType
-
public class SourcePolicyType extends Object
RM source configuration properties. Used for configuring an RM source.Java class for SourcePolicyType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="SourcePolicyType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="sequenceTerminationPolicy" type="{http://cxf.apache.org/ws/rm/manager}SequenceTerminationPolicyType" minOccurs="0"/> <element name="retryPolicy" type="{http://cxf.apache.org/ws/rm/manager}RetryPolicyType" minOccurs="0"/> </sequence> <attribute name="sequenceExpiration" type="{http://www.w3.org/2001/XMLSchema}duration" default="PT0S" /> <attribute name="acksTo" type="{http://www.w3.org/2001/XMLSchema}string" /> <attribute name="includeOffer" type="{http://www.w3.org/2001/XMLSchema}boolean" default="true" /> <attribute name="offeredSequenceExpiration" type="{http://www.w3.org/2001/XMLSchema}duration" default="PT0S" /> <attribute name="maxSequences" type="{http://www.w3.org/2001/XMLSchema}int" default="0" /> <attribute name="ackRequestMode" type="{http://cxf.apache.org/ws/rm/manager}AckRequestModeType" default="pending" /> </restriction> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected AckRequestModeTypeackRequestModeprotected StringacksToprotected BooleanincludeOfferprotected IntegermaxSequencesprotected DurationofferedSequenceExpirationprotected RetryPolicyTyperetryPolicyprotected DurationsequenceExpirationprotected SequenceTerminationPolicyTypesequenceTerminationPolicy
-
Constructor Summary
Constructors Constructor Description SourcePolicyType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AckRequestModeTypegetAckRequestMode()Gets the value of the ackRequestMode property.StringgetAcksTo()Gets the value of the acksTo property.intgetMaxSequences()Gets the value of the maxSequences property.DurationgetOfferedSequenceExpiration()Gets the value of the offeredSequenceExpiration property.RetryPolicyTypegetRetryPolicy()Gets the value of the retryPolicy property.DurationgetSequenceExpiration()Gets the value of the sequenceExpiration property.SequenceTerminationPolicyTypegetSequenceTerminationPolicy()Gets the value of the sequenceTerminationPolicy property.booleanisIncludeOffer()Gets the value of the includeOffer property.booleanisSetAckRequestMode()booleanisSetAcksTo()booleanisSetIncludeOffer()booleanisSetMaxSequences()booleanisSetOfferedSequenceExpiration()booleanisSetRetryPolicy()booleanisSetSequenceExpiration()booleanisSetSequenceTerminationPolicy()voidsetAckRequestMode(AckRequestModeType value)Sets the value of the ackRequestMode property.voidsetAcksTo(String value)Sets the value of the acksTo property.voidsetIncludeOffer(boolean value)Sets the value of the includeOffer property.voidsetMaxSequences(int value)Sets the value of the maxSequences property.voidsetOfferedSequenceExpiration(Duration value)Sets the value of the offeredSequenceExpiration property.voidsetRetryPolicy(RetryPolicyType value)Sets the value of the retryPolicy property.voidsetSequenceExpiration(Duration value)Sets the value of the sequenceExpiration property.voidsetSequenceTerminationPolicy(SequenceTerminationPolicyType value)Sets the value of the sequenceTerminationPolicy property.voidunsetIncludeOffer()voidunsetMaxSequences()
-
-
-
Field Detail
-
sequenceTerminationPolicy
protected SequenceTerminationPolicyType sequenceTerminationPolicy
-
retryPolicy
protected RetryPolicyType retryPolicy
-
sequenceExpiration
protected Duration sequenceExpiration
-
acksTo
protected String acksTo
-
includeOffer
protected Boolean includeOffer
-
offeredSequenceExpiration
protected Duration offeredSequenceExpiration
-
maxSequences
protected Integer maxSequences
-
ackRequestMode
protected AckRequestModeType ackRequestMode
-
-
Method Detail
-
getSequenceTerminationPolicy
public SequenceTerminationPolicyType getSequenceTerminationPolicy()
Gets the value of the sequenceTerminationPolicy property.- Returns:
- possible object is
SequenceTerminationPolicyType
-
setSequenceTerminationPolicy
public void setSequenceTerminationPolicy(SequenceTerminationPolicyType value)
Sets the value of the sequenceTerminationPolicy property.- Parameters:
value- allowed object isSequenceTerminationPolicyType
-
isSetSequenceTerminationPolicy
public boolean isSetSequenceTerminationPolicy()
-
getRetryPolicy
public RetryPolicyType getRetryPolicy()
Gets the value of the retryPolicy property.- Returns:
- possible object is
RetryPolicyType
-
setRetryPolicy
public void setRetryPolicy(RetryPolicyType value)
Sets the value of the retryPolicy property.- Parameters:
value- allowed object isRetryPolicyType
-
isSetRetryPolicy
public boolean isSetRetryPolicy()
-
setSequenceExpiration
public void setSequenceExpiration(Duration value)
Sets the value of the sequenceExpiration property.- Parameters:
value- allowed object isDuration
-
isSetSequenceExpiration
public boolean isSetSequenceExpiration()
-
getAcksTo
public String getAcksTo()
Gets the value of the acksTo property.- Returns:
- possible object is
String
-
setAcksTo
public void setAcksTo(String value)
Sets the value of the acksTo property.- Parameters:
value- allowed object isString
-
isSetAcksTo
public boolean isSetAcksTo()
-
setOfferedSequenceExpiration
public void setOfferedSequenceExpiration(Duration value)
Sets the value of the offeredSequenceExpiration property.- Parameters:
value- allowed object isDuration
-
isSetOfferedSequenceExpiration
public boolean isSetOfferedSequenceExpiration()
-
setAckRequestMode
public void setAckRequestMode(AckRequestModeType value)
Sets the value of the ackRequestMode property.- Parameters:
value- allowed object isAckRequestModeType
-
isSetAckRequestMode
public boolean isSetAckRequestMode()
-
getSequenceExpiration
public Duration getSequenceExpiration()
Gets the value of the sequenceExpiration property.
-
setIncludeOffer
public void setIncludeOffer(boolean value)
Sets the value of the includeOffer property.
-
unsetIncludeOffer
public void unsetIncludeOffer()
-
isSetIncludeOffer
public boolean isSetIncludeOffer()
-
isIncludeOffer
public boolean isIncludeOffer()
Gets the value of the includeOffer property.
-
getOfferedSequenceExpiration
public Duration getOfferedSequenceExpiration()
Gets the value of the offeredSequenceExpiration property.
-
setMaxSequences
public void setMaxSequences(int value)
Sets the value of the maxSequences property.
-
unsetMaxSequences
public void unsetMaxSequences()
-
isSetMaxSequences
public boolean isSetMaxSequences()
-
getMaxSequences
public int getMaxSequences()
Gets the value of the maxSequences property.
-
getAckRequestMode
public AckRequestModeType getAckRequestMode()
Gets the value of the ackRequestMode property.
-
-