Coverage Report - org.openpermis.basic.Clock
 
Classes in this File Line Coverage Branch Coverage Complexity
Clock
N/A
N/A
1
 
 1  
 /*
 2  
  * Copyright (c) 2009, Swiss Federal Department of Defence Civil Protection and Sport
 3  
  *                     (http://www.vbs.admin.ch)
 4  
  * Copyright (c) 2009, Ergon Informatik AG (http://www.ergon.ch)
 5  
  * All rights reserved.
 6  
  *
 7  
  * Licensed under the Open Permis License which accompanies this distribution,
 8  
  * and is available at http://www.openpermis.org/BSDlicenceKent.txt
 9  
  */
 10  
 package org.openpermis.basic;
 11  
 
 12  
 import org.openpermis.policy.TimeStamp;
 13  
 
 14  
 
 15  
 /**
 16  
  * A service that provides {@link TimeStamp} values.
 17  
  * @since 0.1.0
 18  
  */
 19  
 public interface Clock {
 20  
 
 21  
         //---- Methods
 22  
         
 23  
         /**
 24  
          * Returns the time at which a PDP should evaluate the next access decision. 
 25  
          * @return a {@link TimeStamp} value.
 26  
          * @since 0.1.0
 27  
          */
 28  
         public TimeStamp getTime ();
 29  
 
 30  
 }