Class SignalMessage.Builder<_B>

  • All Implemented Interfaces:
    com.kscs.util.jaxb.Buildable
    Enclosing class:
    SignalMessage

    public static class SignalMessage.Builder<_B>
    extends Object
    implements com.kscs.util.jaxb.Buildable
    • Field Detail

      • _parentBuilder

        protected final _B _parentBuilder
    • Constructor Detail

      • Builder

        public Builder​(_B _parentBuilder,
                       SignalMessage _other,
                       boolean _copy)
      • Builder

        public Builder​(_B _parentBuilder,
                       SignalMessage _other,
                       boolean _copy,
                       com.kscs.util.jaxb.PropertyTree _propertyTree,
                       com.kscs.util.jaxb.PropertyTreeUse _propertyTreeUse)
    • Method Detail

      • end

        public _B end()
      • init

        protected <_P extends SignalMessage> _P init​(_P _product)
      • withMessageInfo

        public SignalMessage.Builder<_B> withMessageInfo​(MessageInfo messageInfo)
        Sets the new value of "messageInfo" (any previous value will be replaced)
        Parameters:
        messageInfo - New value of the "messageInfo" property.
      • withPullRequest

        public SignalMessage.Builder<_B> withPullRequest​(PullRequest pullRequest)
        Sets the new value of "pullRequest" (any previous value will be replaced)
        Parameters:
        pullRequest - New value of the "pullRequest" property.
      • withReceipt

        public SignalMessage.Builder<_B> withReceipt​(Receipt receipt)
        Sets the new value of "receipt" (any previous value will be replaced)
        Parameters:
        receipt - New value of the "receipt" property.
      • addError

        public SignalMessage.Builder<_B> addError​(Iterable<? extends Error> error)
        Adds the given items to the value of "error"
        Parameters:
        error - Items to add to the value of the "error" property
      • withError

        public SignalMessage.Builder<_B> withError​(Iterable<? extends Error> error)
        Sets the new value of "error" (any previous value will be replaced)
        Parameters:
        error - New value of the "error" property.
      • addError

        public SignalMessage.Builder<_B> addError​(Error... error)
        Adds the given items to the value of "error"
        Parameters:
        error - Items to add to the value of the "error" property
      • withError

        public SignalMessage.Builder<_B> withError​(Error... error)
        Sets the new value of "error" (any previous value will be replaced)
        Parameters:
        error - New value of the "error" property.
      • addAny

        public SignalMessage.Builder<_B> addAny​(Iterable<?> any)
        Adds the given items to the value of "any"
        Parameters:
        any - Items to add to the value of the "any" property
      • withAny

        public SignalMessage.Builder<_B> withAny​(Iterable<?> any)
        Sets the new value of "any" (any previous value will be replaced)
        Parameters:
        any - New value of the "any" property.
      • addAny

        public SignalMessage.Builder<_B> addAny​(Object... any)
        Adds the given items to the value of "any"
        Parameters:
        any - Items to add to the value of the "any" property
      • withAny

        public SignalMessage.Builder<_B> withAny​(Object... any)
        Sets the new value of "any" (any previous value will be replaced)
        Parameters:
        any - New value of the "any" property.
      • build

        public SignalMessage build()
        Specified by:
        build in interface com.kscs.util.jaxb.Buildable