Class DistributionQueueStatus
java.lang.Object
org.apache.sling.distribution.queue.DistributionQueueStatus
The status of a certain
DistributionQueue-
Constructor Summary
ConstructorsConstructorDescriptionDistributionQueueStatus(int itemsCount, @NotNull DistributionQueueState queueState) -
Method Summary
-
Constructor Details
-
DistributionQueueStatus
-
-
Method Details
-
getItemsCount
public int getItemsCount()get the no. of items in the queue- Returns:
- the no. of items in the queue
-
getState
get the state associated with the status of this queue- Returns:
- a
DistributionQueueItemState
-
isEmpty
public boolean isEmpty()check if the queue is empty- Returns:
trueif the queue is empty
-