Class PayloadGroup


  • @Model(adaptables=org.apache.sling.api.resource.Resource.class)
    public class PayloadGroup
    extends Object
    • Constructor Detail

      • PayloadGroup

        public PayloadGroup​(org.apache.sling.api.resource.Resource resource)
    • Method Detail

      • getPath

        public String getPath()
        Returns:
        the JCR path of the PayloadGroup resource.
      • getDereferencedPath

        public String getDereferencedPath()
      • getWorkspace

        public Workspace getWorkspace()
        Returns:
        the Workspace this payload group belongs to.
      • getNextPayloadGroup

        public PayloadGroup getNextPayloadGroup()
        Returns:
        the next payload group to process. null if no more payload groups to process left.
      • getNext

        public String getNext()
      • getPayloads

        public List<Payload> getPayloads()
        Returns:
        list of all the Payloads in the PayloadGroup.
      • getNextPayload

        public Payload getNextPayload()
        Returns:
        the next payload eligible for processing. null if none exist.
      • isLast

        public boolean isLast()
        Returns:
        true if this is the last PayloadGroup
      • dereference

        public static String dereference​(String str)
      • reference

        public static String reference​(String str)