Class PayloadGroup
- java.lang.Object
-
- com.adobe.acs.commons.workflow.bulk.execution.model.PayloadGroup
-
@Model(adaptables=org.apache.sling.api.resource.Resource.class) public class PayloadGroup extends Object
-
-
Constructor Summary
Constructors Constructor Description PayloadGroup(org.apache.sling.api.resource.Resource resource)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Stringdereference(String str)StringgetDereferencedPath()StringgetNext()PayloadgetNextPayload()PayloadGroupgetNextPayloadGroup()StringgetPath()List<Payload>getPayloads()WorkspacegetWorkspace()booleanisLast()static Stringreference(String str)
-
-
-
Field Detail
-
PN_NEXT
public static final String PN_NEXT
- See Also:
- Constant Field Values
-
-
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
-
-