Class 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>
     
    • Constructor Detail

      • SourcePolicyType

        public SourcePolicyType()
    • Method Detail

      • isSetSequenceTerminationPolicy

        public boolean isSetSequenceTerminationPolicy()
      • setRetryPolicy

        public void setRetryPolicy​(RetryPolicyType value)
        Sets the value of the retryPolicy property.
        Parameters:
        value - allowed object is RetryPolicyType
      • isSetRetryPolicy

        public boolean isSetRetryPolicy()
      • setSequenceExpiration

        public void setSequenceExpiration​(Duration value)
        Sets the value of the sequenceExpiration property.
        Parameters:
        value - allowed object is Duration
      • 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 is String
      • isSetAcksTo

        public boolean isSetAcksTo()
      • setOfferedSequenceExpiration

        public void setOfferedSequenceExpiration​(Duration value)
        Sets the value of the offeredSequenceExpiration property.
        Parameters:
        value - allowed object is Duration
      • isSetOfferedSequenceExpiration

        public boolean isSetOfferedSequenceExpiration()
      • setAckRequestMode

        public void setAckRequestMode​(AckRequestModeType value)
        Sets the value of the ackRequestMode property.
        Parameters:
        value - allowed object is AckRequestModeType
      • 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.