Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


oracle.security.jps.service.policystore.info.distribution
Interface DistributionStatusEntry


public interface DistributionStatusEntry

DistributionStatus Represents the distribution status, including start time, end time, issuer, success or not for each affected PDP, how much of the distribution has been completed.


Nested Class Summary
static class DistributionStatusEntry.State
           

 

Method Summary
 java.lang.String getDistributionID()
          Gets the unique distribution ID
 java.util.Date getEndTime()
          Gets the distribution end time.
 java.lang.String getIssuer()
          Gets the subject who issued the distribution.
 java.util.List<PDPStatusEntry> getPDPStatus()
          Gets the list of PDPStatusEntry, each of which represents the status of one registered PDP instance.
 int getPercentComplete()
          Gets the progress of the distribution process.
 java.util.Date getStartTime()
          Gets the start time of the distribution.
 DistributionStatusEntry.State getState()
          Gets the state.

 

Method Detail

getPDPStatus

java.util.List<PDPStatusEntry> getPDPStatus()
Gets the list of PDPStatusEntry, each of which represents the status of one registered PDP instance.
Returns:
list of PDPStatusEntry object

getPercentComplete

int getPercentComplete()
Gets the progress of the distribution process. The scope is from 0 to 100, e.g. 100 means 100% completed. Note, even this percent is set to 100, it does not means this time's distribution for all PDPs is successful. Success or not for each PDP should be checked in the corresponding PDPStatusEntry object.
Returns:
a integer number that indicates the percentage of completion.

getState

DistributionStatusEntry.State getState()
Gets the state.
Returns:
the state.

getStartTime

java.util.Date getStartTime()
Gets the start time of the distribution.
Returns:
the start time of the distribution.

getEndTime

java.util.Date getEndTime()
Gets the distribution end time. Null will be returned if the distribution is not finished.
Returns:
the end time of the distribution.

getIssuer

java.lang.String getIssuer()
Gets the subject who issued the distribution. Three events may trigger a distribution operation: timer timeout, PDP registration and explicit method call. So, a string that represents system timer, registration request or customer login name will be returned. For example, the returned string may be "timer", "registration" or "Jack".
Returns:
the subject who issues the distribution

getDistributionID

java.lang.String getDistributionID()
Gets the unique distribution ID
Returns:
the unique distribution ID.

Skip navigation links

Oracle Fusion Middleware Management Java API Reference for Oracle Entitlements Server
11g Release 1 (11.1.1)

E22649-02 ESAPI


Copyright © 2011, Oracle. All rights reserved.