All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.att.research.xacmlatt.pdp.policy.PolicyFinderResult Maven / Gradle / Ivy

The newest version!
/*
 *
 *          Copyright (c) 2013,2019  AT&T Knowledge Ventures
 *                     SPDX-License-Identifier: MIT
 */
package com.att.research.xacmlatt.pdp.policy;

import com.att.research.xacml.api.Status;

/**
 * PolicyFinderResult is the interface for return values of the methods in the {@link com.att.research.xacmlatt.pdp.policy.PolicyFinderFactory} interface.
 * 
 * @author car
 * @version $Revision: 1.1 $
 * @param  the class extending {@link com.att.research.xacmlatt.pdp.policy.PolicyDef} contained as a result in this PolicyFinderResult
 */
public interface PolicyFinderResult {
	/**
	 * Gets the {@link com.att.research.xacml.api.Status} of the method call.
	 * 
	 * @return the Status of the method call
	 */
	public Status getStatus();
	
	/**
	 * Gets the {@link com.att.research.xacmlatt.pdp.policy.PolicyDef} returned by the method if the status is OK.
	 * 
	 * @return the T returned by the method if the status is OK.
	 */
	public T getPolicyDef();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy