Class NodeMetaData.Builder

    • Method Detail

      • contacts

        public final NodeMetaData.Builder contacts​(Collection<Jid> contacts)
        The JIDs of those to contact with questions.
        Parameters:
        contacts - The contacts.
        Returns:
        The builder.
      • creationDate

        public final NodeMetaData.Builder creationDate​(Instant creationDate)
        The datetime when the node was created.
        Parameters:
        creationDate - The creation date.
        Returns:
        The builder.
      • creator

        public final NodeMetaData.Builder creator​(Jid creator)
        The JID of the node creator.
        Parameters:
        creator - The creator.
        Returns:
        The builder.
      • description

        public final NodeMetaData.Builder description​(String description)
        A description of the node.
        Parameters:
        description - The description.
        Returns:
        The builder.
      • language

        public final NodeMetaData.Builder language​(Locale language)
        The default language of the node.
        Parameters:
        language - The language.
        Returns:
        The builder.
      • numberOfSubscribers

        public final NodeMetaData.Builder numberOfSubscribers​(Integer numberOfSubscribers)
        The number of subscribers to the node.
        Parameters:
        numberOfSubscribers - The number of subscribers to the node.
        Returns:
        The builder.
      • owners

        public final NodeMetaData.Builder owners​(Collection<Jid> owners)
        The JIDs of those with an affiliation of owner.
        Parameters:
        owners - The owners.
        Returns:
        The builder.
      • publishers

        public final NodeMetaData.Builder publishers​(Collection<Jid> publishers)
        The JIDs of those with an affiliation of publisher.
        Parameters:
        publishers - The publishers.
        Returns:
        The builder.
      • nodeTitle

        public final NodeMetaData.Builder nodeTitle​(String title)
        The name of the node.
        Parameters:
        title - The title.
        Returns:
        The builder.
      • payloadType

        public final NodeMetaData.Builder payloadType​(String payloadType)
        The payload type.
        Parameters:
        payloadType - The payload type.
        Returns:
        The builder.
      • build

        public final NodeMetaData build()
        Builds the meta data form.
        Returns:
        The meta data form.