Class DistributionQueueItemStatus
- java.lang.Object
-
- org.apache.sling.distribution.queue.DistributionQueueItemStatus
-
public final class DistributionQueueItemStatus extends java.lang.Object
the current status of a certain item in aDistributionQueue
-
-
Constructor Summary
Constructors Constructor Description DistributionQueueItemStatus(java.util.Calendar entered, DistributionQueueItemState state, int attempts, java.lang.String queueName)
DistributionQueueItemStatus(java.util.Calendar entered, DistributionQueueItemState state, int attempts, java.lang.String queueName, java.lang.Throwable error)
DistributionQueueItemStatus(DistributionQueueItemState state, java.lang.String queueName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getAttempts()
java.util.Calendar
getEntered()
java.lang.Throwable
getError()
DistributionQueueItemState
getItemState()
java.lang.String
getQueueName()
java.lang.String
toString()
-
-
-
Constructor Detail
-
DistributionQueueItemStatus
public DistributionQueueItemStatus(java.util.Calendar entered, DistributionQueueItemState state, int attempts, java.lang.String queueName, java.lang.Throwable error)
-
DistributionQueueItemStatus
public DistributionQueueItemStatus(java.util.Calendar entered, DistributionQueueItemState state, int attempts, java.lang.String queueName)
-
DistributionQueueItemStatus
public DistributionQueueItemStatus(DistributionQueueItemState state, java.lang.String queueName)
-
-
Method Detail
-
getAttempts
public int getAttempts()
-
getItemState
public DistributionQueueItemState getItemState()
-
getQueueName
public java.lang.String getQueueName()
-
getError
public java.lang.Throwable getError()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getEntered
public java.util.Calendar getEntered()
-
-